* include/sys/cygwin.h: Declare cygwin_internal as unsigned long.
* external.cc (cygwin_internal): Define as unsigned long. * include/sys/cygwin.h: Move cygwin_internal outside of WINVER conditional.
This commit is contained in:
parent
eff6c00e19
commit
a7ab35c1bb
|
@ -1,3 +1,13 @@
|
||||||
|
2003-03-28 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* include/sys/cygwin.h: Declare cygwin_internal as unsigned long.
|
||||||
|
* external.cc (cygwin_internal): Define as unsigned long.
|
||||||
|
|
||||||
|
2003-03-27 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* include/sys/cygwin.h: Move cygwin_internal outside of WINVER
|
||||||
|
conditional.
|
||||||
|
|
||||||
2003-03-27 Thomas Pfaff <tpfaff@gmx.net>
|
2003-03-27 Thomas Pfaff <tpfaff@gmx.net>
|
||||||
|
|
||||||
* thread.cc: Change 1==foo equations to foo==1 throughout.
|
* thread.cc: Change 1==foo equations to foo==1 throughout.
|
||||||
|
|
|
@ -121,7 +121,7 @@ get_cygdrive_prefixes (char *user, char *system)
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" DWORD
|
extern "C" unsigned long
|
||||||
cygwin_internal (cygwin_getinfo_types t, ...)
|
cygwin_internal (cygwin_getinfo_types t, ...)
|
||||||
{
|
{
|
||||||
va_list arg;
|
va_list arg;
|
||||||
|
|
|
@ -75,6 +75,7 @@ typedef enum
|
||||||
} cygwin_getinfo_types;
|
} cygwin_getinfo_types;
|
||||||
|
|
||||||
#define CW_NEXTPID 0x80000000 /* or with pid to get next one */
|
#define CW_NEXTPID 0x80000000 /* or with pid to get next one */
|
||||||
|
unsigned long cygwin_internal (cygwin_getinfo_types, ...);
|
||||||
|
|
||||||
/* Flags associated with process_state */
|
/* Flags associated with process_state */
|
||||||
enum
|
enum
|
||||||
|
@ -249,7 +250,6 @@ struct external_pinfo
|
||||||
__gid32_t gid32;
|
__gid32_t gid32;
|
||||||
};
|
};
|
||||||
|
|
||||||
DWORD cygwin_internal (cygwin_getinfo_types, ...);
|
|
||||||
#endif /*WINVER*/
|
#endif /*WINVER*/
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
Loading…
Reference in New Issue