summaryrefslogtreecommitdiff
path: root/semaphore.h
diff options
context:
space:
mode:
Diffstat (limited to 'semaphore.h')
-rw-r--r--semaphore.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/semaphore.h b/semaphore.h
index 52438c7..891c929 100644
--- a/semaphore.h
+++ b/semaphore.h
@@ -95,7 +95,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