summaryrefslogtreecommitdiffstats
path: root/include/c99_compat.h
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2016-06-23 11:18:21 +0100
committerJose Fonseca <[email protected]>2016-06-23 15:07:19 +0100
commit805dbdf06d98e6dcfe0b24e38cc13c88eb5f36be (patch)
treeff4006222fc45ecc2c53824dfe77e60eab9e99f3 /include/c99_compat.h
parent4f5d513755be8608eb0a01973eec16f28c6b4b40 (diff)
include: Require MSVC 2013 Update 4.
Earlier MSVC 2013 releases have troubles compiling some of our C99 code, so make sure we have Update 4 to avoid confusion. Cc: [email protected] Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'include/c99_compat.h')
-rw-r--r--include/c99_compat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/c99_compat.h b/include/c99_compat.h
index bfe655bb21b..24e96e0efef 100644
--- a/include/c99_compat.h
+++ b/include/c99_compat.h
@@ -36,8 +36,8 @@
*/
#if defined(_MSC_VER)
-# if _MSC_VER < 1800
-# error "Microsoft Visual Studio 2013 or higher required"
+# if _MSC_VER < 1800 || (_MSC_FULL_VER < 180031101 && !defined(__clang__))
+# error "Microsoft Visual Studio 2013 Update 4 or higher required"
# endif
/*