From 13788c56859fcd8a8e4999d7553a0864c0176a10 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Wed, 18 Jan 2017 02:58:10 +0100 Subject: 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. --- source/fitz/load-jpx.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'source') 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 -- cgit v1.2.3