summaryrefslogtreecommitdiff
path: root/include/fitz/sysdep.h
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-11-15 07:50:43 +0100
committerTor Andersson <tor@ghostscript.com>2004-11-15 07:50:43 +0100
commit01a774064e13cebc9a75e44432226d845fa46f9a (patch)
treee817e8ad3d4fa2d4bb52f1ac543c9b932b40d657 /include/fitz/sysdep.h
parent67781c58fef0f94ea234341cea8e7e13646bc4a2 (diff)
downloadmupdf-01a774064e13cebc9a75e44432226d845fa46f9a.tar.xz
render optimizations
Diffstat (limited to 'include/fitz/sysdep.h')
-rw-r--r--include/fitz/sysdep.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/fitz/sysdep.h b/include/fitz/sysdep.h
index 7f7ddbca..3e0f3232 100644
--- a/include/fitz/sysdep.h
+++ b/include/fitz/sysdep.h
@@ -14,6 +14,13 @@
#include <errno.h>
#include <fcntl.h> /* O_RDONLY & co */
+#ifdef _ISOC99_SOURCE
+#elif __GNUC__
+#define restrict __restrict__
+#else
+#define restrict
+#endif
+
#ifdef WIN32
#define NEED_STRLCPY