summaryrefslogtreecommitdiffstats
path: root/include/c99_compat.h
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2016-02-11 11:36:17 +0000
committerJose Fonseca <[email protected]>2016-02-11 21:36:00 +0000
commit0d4898ae8068d3984242775a6fcc87f280c0ac5a (patch)
tree437d80d6f310eb47eb216d8d15b97c864a3cd993 /include/c99_compat.h
parenta97a955b92f39d10c092490b3bf5a9fcbc8e2d57 (diff)
include,gallium: Remove pre-MSVC 2013 compatibility.
Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'include/c99_compat.h')
-rw-r--r--include/c99_compat.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/c99_compat.h b/include/c99_compat.h
index 4be5b7e1259..b55ad9c181d 100644
--- a/include/c99_compat.h
+++ b/include/c99_compat.h
@@ -36,17 +36,17 @@
*/
#if defined(_MSC_VER)
-# if _MSC_VER < 1500
-# error "Microsoft Visual Studio 2008 or higher required"
+# if _MSC_VER < 1800
+# error "Microsoft Visual Studio 2013 or higher required"
# endif
/*
- * Visual Studio 2012 will complain if we define the `inline` keyword, but
+ * Visual Studio will complain if we define the `inline` keyword, but
* actually it only supports the keyword on C++.
*
* To avoid this the _ALLOW_KEYWORD_MACROS must be set.
*/
-# if (_MSC_VER >= 1700) && !defined(_ALLOW_KEYWORD_MACROS)
+# if !defined(_ALLOW_KEYWORD_MACROS)
# define _ALLOW_KEYWORD_MACROS
# endif