summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-01-18 02:58:10 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-01-23 13:57:04 +0100
commit13788c56859fcd8a8e4999d7553a0864c0176a10 (patch)
tree723d934bb4fde202f3b4513eb3b8d3dd5960c21e /source
parentad6807ba2a3fbd1c276ad5797a27ec771aeaf59b (diff)
downloadmupdf-13788c56859fcd8a8e4999d7553a0864c0176a10.tar.xz
android: Add ndk-build makefile to build JNI library for android viewers.
Run 'make android' to invoke ndk-build with the proper arguments. The results are placed in build/android.
Diffstat (limited to 'source')
-rw-r--r--source/fitz/load-jpx.c7
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>