From 1970a7eaf29be18e8bf5f32645ac28f7ccc4ad1d Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Thu, 9 Nov 2017 12:18:25 +0000 Subject: Bug 698307: Improve stdint.h detection logic in openjpeg wrapper. Thanks to Tamir Evan for this tweak. --- source/fitz/load-jpx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/fitz/load-jpx.c') diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c index 6730a645..65699bab 100644 --- a/source/fitz/load-jpx.c +++ b/source/fitz/load-jpx.c @@ -447,7 +447,7 @@ fz_load_jpx_info(fz_context *ctx, const unsigned char *data, size_t size, int *w #define OPJ_STATIC #define OPJ_HAVE_INTTYPES_H -#if !defined(_WIN32) && !defined(_WIN64) +#if !defined(_MSC_VER) || _MSC_VER >= 1600 #define OPJ_HAVE_STDINT_H #endif #define USE_JPIP -- cgit v1.2.3