blob: e4950fcf5c95c073444bd5967d1c1a19b05b61c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- base/stdpre.h.orig 2018-03-21 08:48:06 UTC
+++ base/stdpre.h
@@ -94,7 +94,8 @@
#endif
/* restrict is standard in C99, but not in all C++ compilers. */
-#if __STDC_VERSION__ == 199901L /* C99 */
+#if __STDC_VERSION__ >= 199901L /* C99 */
+#define gs_restrict restrict
#elif defined(_MSC_VER) && _MSC_VER >= 1500 /* MSVC 9 or newer */
#define gs_restrict __restrict
#elif __GNUC__ >= 3 /* GCC 3 or newer */
|