summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/c11/threads_win32.h12
-rw-r--r--include/c99_compat.h4
2 files changed, 3 insertions, 13 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 ----------------------------*/
diff --git a/include/c99_compat.h b/include/c99_compat.h
index 81621a7fabc..b681725b2b0 100644
--- a/include/c99_compat.h
+++ b/include/c99_compat.h
@@ -36,8 +36,8 @@
*/
#if defined(_MSC_VER)
-# if _MSC_VER < 1800 || (_MSC_FULL_VER < 180031101 && !defined(__clang__))
-# error "Microsoft Visual Studio 2013 Update 4 or higher required"
+# if _MSC_VER < 1900
+# error "Microsoft Visual Studio 2015 or higher required"
# endif
/*