summaryrefslogtreecommitdiffstats
path: root/include/c99_compat.h
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2016-02-11 11:36:17 +0000
committerJose Fonseca <jfonseca@vmware.com>2016-02-11 21:36:00 +0000
commit0d4898ae8068d3984242775a6fcc87f280c0ac5a (patch)
tree437d80d6f310eb47eb216d8d15b97c864a3cd993 /include/c99_compat.h
parenta97a955b92f39d10c092490b3bf5a9fcbc8e2d57 (diff)
downloadexternal_mesa3d-0d4898ae8068d3984242775a6fcc87f280c0ac5a.zip
external_mesa3d-0d4898ae8068d3984242775a6fcc87f280c0ac5a.tar.gz
external_mesa3d-0d4898ae8068d3984242775a6fcc87f280c0ac5a.tar.bz2
include,gallium: Remove pre-MSVC 2013 compatibility.
Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
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 4be5b7e..b55ad9c 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