summaryrefslogtreecommitdiffstats
path: root/include/c11/threads_win32.h
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2018-09-07 13:27:47 +0100
committerJose Fonseca <[email protected]>2018-09-10 10:10:16 +0100
commit52ca32121bc99d61cc30077fe37f85bdb4c47659 (patch)
tree894d4df2931b255fee1cfba3ba8066a3da9c2e9d /include/c11/threads_win32.h
parentd5f934522d6ae30bbb1b5320309aa29eb720008f (diff)
Require Visual Studio 2015.
We no longer need or use Visual Studio 2013. https://ci.appveyor.com/project/jrfonseca/mesa/build/52 Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'include/c11/threads_win32.h')
-rw-r--r--include/c11/threads_win32.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/include/c11/threads_win32.h b/include/c11/threads_win32.h
index dac8ef76973..326cfc46775 100644
--- a/include/c11/threads_win32.h
+++ b/include/c11/threads_win32.h
@@ -76,18 +76,8 @@ Configuration macro:
#endif
/* Visual Studio 2015 and later */
-#if _MSC_VER >= 1900
-#define HAVE_TIMESPEC
+#ifdef _MSC_VER
#define HAVE_TIMESPEC_GET
-#elif defined(__MINGW32__)
-#define HAVE_TIMESPEC
-#endif
-
-#ifndef HAVE_TIMESPEC
-struct timespec {
- time_t tv_sec;
- long tv_nsec;
-};
#endif
/*---------------------------- macros ----------------------------*/