summaryrefslogtreecommitdiff
path: root/winsup/cygwin/include/sys/cygwin.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/include/sys/cygwin.h')
-rw-r--r--winsup/cygwin/include/sys/cygwin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h
index dccff206862..e117175e0c2 100644
--- a/winsup/cygwin/include/sys/cygwin.h
+++ b/winsup/cygwin/include/sys/cygwin.h
@@ -92,7 +92,7 @@ enum
PID_SPLIT_HEAP = 0x0100, /* Set if the heap has been split, */
/* which means we can't fork again. */
PID_MYSELF = 0x0200, /* Flag that pid is me. */
- PID_UNUSED1 = 0x0400, /* Set if process uses Winsock. */
+ PID_NOCLDSTOP = 0x0400, /* Set if no SIGCHLD signal on stop. */
PID_INITIALIZING = 0x0800, /* Set until ready to receive signals. */
PID_USETTY = 0x1000, /* Setting this enables or disables cygwin's */
/* tty support. This is inherited by */
@@ -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 */