diff options
author | Robin Watts <robin.watts@artifex.com> | 2018-04-03 12:09:23 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2018-04-03 12:10:54 +0100 |
commit | b7895f158741f791d0a6211ad955bc8bce0f3452 (patch) | |
tree | 0ad467a5fe91caad993f210bb90818e47e08cb34 /include | |
parent | 90defd077ddabc919d488953cb24c86476afdf39 (diff) | |
download | mupdf-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')
-rw-r--r-- | include/mupdf/fitz/system.h | 2 |
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 |