* include/sys/cygwin.h: Don't define cygwin-specific things if !__CYGWIN__.

This commit is contained in:
Christopher Faylor 2003-09-01 02:26:27 +00:00
parent c0a9bffd03
commit 840fcfef8d
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-08-31 Christopher Faylor <cgf@redhat.com>
* include/sys/cygwin.h: Don't define cygwin-specific things if
!__CYGWIN__.
2003-08-31 Christopher Faylor <cgf@redhat.com>
* cygheap.cc (cygheap_init): Allocate space for sigaction array in

View File

@ -207,6 +207,7 @@ extern void cygwin_set_impersonation_token (const HANDLE);
extern int cygwin32_attach_handle_to_fd (char *, int, HANDLE, mode_t, DWORD);
extern int cygwin_attach_handle_to_fd (char *, int, HANDLE, mode_t, DWORD);
#ifdef __CYGWIN__
#include <sys/resource.h>
#define TTY_CONSOLE 0x40000000
@ -250,11 +251,10 @@ struct external_pinfo
__uid32_t uid32;
__gid32_t gid32;
};
#endif /*__CYGWIN__*/
#endif /*WINVER*/
#ifdef __cplusplus
};
#endif
#endif /* _SYS_CYGWIN_H */