diff options
Diffstat (limited to 'sched.h')
-rw-r--r-- | sched.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -96,7 +96,10 @@ # define NEED_ERRNO # define NEED_SEM # endif -# if defined(_UWIN) || defined(__MINGW32__) +# if defined(__MINGW64__) +# define HAVE_STRUCT_TIMESPEC +# define HAVE_MODE_T +# elif defined(_UWIN) || defined(__MINGW32__) # define HAVE_MODE_T # endif #endif @@ -113,7 +116,7 @@ #endif #endif /* PTW32_LEVEL >= PTW32_LEVEL_MAX */ -#if defined(__MINGW32__) || defined(_UWIN) +#if (defined(__MINGW64__) || defined(__MINGW32__)) || defined(_UWIN) # if PTW32_LEVEL >= PTW32_LEVEL_MAX /* For pid_t */ # include <sys/types.h> |