* include/sys/cygwin.h: Don't define parts of this file that rely on Windows
headers unless the Windows header was previously included.
This commit is contained in:
parent
5af1047b41
commit
f33acdb808
@ -1,3 +1,8 @@
|
|||||||
|
Thu Jun 22 15:51:17 2000 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
|
* include/sys/cygwin.h: Don't define parts of this file that rely on
|
||||||
|
Windows headers unless the Windows header was previously included.
|
||||||
|
|
||||||
Thu Jun 22 20:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
Thu Jun 22 20:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* registry.cc (load_registry_hive): Use HKEY_USERS when checking
|
* registry.cc (load_registry_hive): Use HKEY_USERS when checking
|
||||||
|
@ -39,11 +39,10 @@ extern void cygwin_premain1 (int argc, char **argv);
|
|||||||
extern void cygwin_premain2 (int argc, char **argv);
|
extern void cygwin_premain2 (int argc, char **argv);
|
||||||
extern void cygwin_premain3 (int argc, char **argv);
|
extern void cygwin_premain3 (int argc, char **argv);
|
||||||
|
|
||||||
#ifdef _GNU_H_WINDOWS32_BASE
|
#ifdef WINVER
|
||||||
/* included if <windows.h> is included */
|
/* included if <windows.h> is included */
|
||||||
extern int cygwin32_attach_handle_to_fd (char *, int, HANDLE, int, int);
|
extern int cygwin32_attach_handle_to_fd (char *, int, HANDLE, int, int);
|
||||||
extern int cygwin_attach_handle_to_fd (char *, int, HANDLE, mode_t, unsigned);
|
extern int cygwin_attach_handle_to_fd (char *, int, HANDLE, mode_t, unsigned);
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
|
|
||||||
@ -87,6 +86,7 @@ struct external_pinfo
|
|||||||
};
|
};
|
||||||
|
|
||||||
DWORD cygwin_internal (cygwin_getinfo_types, ...);
|
DWORD cygwin_internal (cygwin_getinfo_types, ...);
|
||||||
|
#endif /*WINVER*/
|
||||||
|
|
||||||
#define CW_NEXTPID 0x80000000 // or with pid to get next one
|
#define CW_NEXTPID 0x80000000 // or with pid to get next one
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user