diff options
author | rpj <rpj> | 2009-03-03 21:43:47 +0000 |
---|---|---|
committer | rpj <rpj> | 2009-03-03 21:43:47 +0000 |
commit | 271aefcce0ebde39bc104daf342e1048727727d0 (patch) | |
tree | c137e24684d20453e06529c75f5028cd5c060957 /sched.h | |
parent | e0513b5c7247bdafd5398f03bb7853cd880f5de6 (diff) |
''
Diffstat (limited to 'sched.h')
-rw-r--r-- | sched.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -60,7 +60,7 @@ #define PTW32_LEVEL_MAX 3 -#if !defined(PTW32_LEVEL) +#if ( defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112 ) || !defined(PTW32_LEVEL) #define PTW32_LEVEL PTW32_LEVEL_MAX /* Include everything */ #endif @@ -114,14 +114,14 @@ #endif /* PTW32_LEVEL >= PTW32_LEVEL_MAX */ #if defined(__MINGW32__) || defined(_UWIN) -#if PTW32_LEVEL >= PTW32_LEVEL_MAX +# if PTW32_LEVEL >= PTW32_LEVEL_MAX /* For pid_t */ # include <sys/types.h> /* Required by Unix 98 */ # include <time.h> -#else -typedef int pid_t; -#endif /* PTW32_LEVEL >= PTW32_LEVEL_MAX */ +# else + typedef int pid_t; +# endif #else typedef int pid_t; #endif |