mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-21 00:07:36 +08:00
* include/sys/cygwin.h: Don't define cygwin-specific things if !__CYGWIN__.
This commit is contained in:
parent
c0a9bffd03
commit
840fcfef8d
@ -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>
|
2003-08-31 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* cygheap.cc (cygheap_init): Allocate space for sigaction array in
|
* cygheap.cc (cygheap_init): Allocate space for sigaction array in
|
||||||
|
@ -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 cygwin32_attach_handle_to_fd (char *, int, HANDLE, mode_t, DWORD);
|
||||||
extern int cygwin_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>
|
#include <sys/resource.h>
|
||||||
|
|
||||||
#define TTY_CONSOLE 0x40000000
|
#define TTY_CONSOLE 0x40000000
|
||||||
@ -250,11 +251,10 @@ struct external_pinfo
|
|||||||
__uid32_t uid32;
|
__uid32_t uid32;
|
||||||
__gid32_t gid32;
|
__gid32_t gid32;
|
||||||
};
|
};
|
||||||
|
#endif /*__CYGWIN__*/
|
||||||
#endif /*WINVER*/
|
#endif /*WINVER*/
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _SYS_CYGWIN_H */
|
#endif /* _SYS_CYGWIN_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user