summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-02-02 20:05:26 +0000
committerRobin Watts <robin.watts@artifex.com>2017-02-06 11:36:27 +0000
commita07fb5aaaf06a7c9a4dcdfefa2b4a6eb827ddf20 (patch)
tree476007b9e8f18fbf32df90d4c2a8b94e3368be26
parent40ac85bfb676bb4373bda4b18f9fd90268c9f1e9 (diff)
downloadmupdf-a07fb5aaaf06a7c9a4dcdfefa2b4a6eb827ddf20.tar.xz
Fix Win32 builds.
-rw-r--r--source/fitz/load-jpx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c
index c133bce4..d798267b 100644
--- a/source/fitz/load-jpx.c
+++ b/source/fitz/load-jpx.c
@@ -445,7 +445,9 @@ fz_load_jpx_info(fz_context *ctx, unsigned char *data, size_t size, int *wp, int
#define OPJ_STATIC
#define OPJ_HAVE_INTTYPES_H
+#if !defined(_WIN32) && !defined(_WIN64)
#define OPJ_HAVE_STDINT_H
+#endif
#define USE_JPIP
#include <openjpeg.h>