summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2018-04-03 12:09:23 +0100
committerRobin Watts <robin.watts@artifex.com>2018-04-03 12:10:54 +0100
commitb7895f158741f791d0a6211ad955bc8bce0f3452 (patch)
tree0ad467a5fe91caad993f210bb90818e47e08cb34 /include/mupdf/fitz
parent90defd077ddabc919d488953cb24c86476afdf39 (diff)
downloadmupdf-b7895f158741f791d0a6211ad955bc8bce0f3452.tar.xz
Fix VS2008 build.
Ken reports that a VS2008 import of the projects fails with complaints about __restrict whereever stdlib.h is included. Fix the #ifdeffery so that we don't mess with it on VS2008.
Diffstat (limited to 'include/mupdf/fitz')
-rw-r--r--include/mupdf/fitz/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mupdf/fitz/system.h b/include/mupdf/fitz/system.h
index 136246a7..c480bd7c 100644
--- a/include/mupdf/fitz/system.h
+++ b/include/mupdf/fitz/system.h
@@ -159,7 +159,7 @@ void fz_free_argv(int argc, char **argv);
/* restrict is standard in C99, but not in all C++ compilers. */
#if __STDC_VERSION__ == 199901L /* C99 */
-#elif _MSC_VER >= 1500 /* MSVC 9 or newer */
+#elif _MSC_VER >= 1600 /* MSVC 10 or newer */
#define restrict __restrict
#elif __GNUC__ >= 3 /* GCC 3 or newer */
#define restrict __restrict