aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/threads.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/threads.h b/include/threads.h
index 75eeb13f..a11405f7 100644
--- a/include/threads.h
+++ b/include/threads.h
@@ -33,7 +33,7 @@ typedef void (*altss_dtor_t)(void*);
#include <windows.h>
-#ifndef _TIMESPEC_DEFINED
+#if !defined(_TIMESPEC_DEFINED) && !(defined(_MSC_VER) && (_MSC_VER >= 1900))
#define _TIMESPEC_DEFINED
struct timespec {
time_t tv_sec;