diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/load-jpx.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c index c52d68d8..c133bce4 100644 --- a/source/fitz/load-jpx.c +++ b/source/fitz/load-jpx.c @@ -443,13 +443,10 @@ fz_load_jpx_info(fz_context *ctx, unsigned char *data, size_t size, int *wp, int #else /* HAVE_LURATECH */ -/* Without the definition of OPJ_STATIC, compilation fails on windows - * due to the use of __stdcall. We believe it is required on some - * linux toolchains too. */ #define OPJ_STATIC -#ifndef _MSC_VER +#define OPJ_HAVE_INTTYPES_H #define OPJ_HAVE_STDINT_H -#endif +#define USE_JPIP #include <openjpeg.h> |