* 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:
Christopher Faylor 2003-03-28 14:21:40 +00:00
parent eff6c00e19
commit a7ab35c1bb
3 changed files with 12 additions and 2 deletions

View File

@ -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>
* thread.cc: Change 1==foo equations to foo==1 throughout.

View File

@ -121,7 +121,7 @@ get_cygdrive_prefixes (char *user, char *system)
return res;
}
extern "C" DWORD
extern "C" unsigned long
cygwin_internal (cygwin_getinfo_types t, ...)
{
va_list arg;

View File

@ -75,6 +75,7 @@ typedef enum
} cygwin_getinfo_types;
#define CW_NEXTPID 0x80000000 /* or with pid to get next one */
unsigned long cygwin_internal (cygwin_getinfo_types, ...);
/* Flags associated with process_state */
enum
@ -249,7 +250,6 @@ struct external_pinfo
__gid32_t gid32;
};
DWORD cygwin_internal (cygwin_getinfo_types, ...);
#endif /*WINVER*/
#ifdef __cplusplus