aboutsummaryrefslogtreecommitdiffstats
path: root/main/mupdf/openjpeg-2.1.patch
blob: 2e14db0f441aacb8d1b884f193d28378ce178fc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- mupdf-1.10-source/source/fitz/load-jpx.c.orig
+++ mupdf-1.10-source/source/fitz/load-jpx.c
@@ -481,14 +481,6 @@
 
 #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_STDINT_H
-#endif
-
 #include <openjpeg.h>
 
 /* OpenJPEG does not provide a safe mechanism to intercept