summaryrefslogtreecommitdiff
path: root/filter/jbig2d.c
diff options
context:
space:
mode:
Diffstat (limited to 'filter/jbig2d.c')
-rw-r--r--filter/jbig2d.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/filter/jbig2d.c b/filter/jbig2d.c
index e58a5e49..3d191e65 100644
--- a/filter/jbig2d.c
+++ b/filter/jbig2d.c
@@ -12,7 +12,21 @@
+create the per-page ctx
*/
+#ifdef WIN32 /* Microsoft Visual C+*/
+
+typedef signed char int8_t;
+typedef short int int16_t;
+typedef int int32_t;
+typedef __int64 int64_t;
+
+typedef unsigned char uint8_t;
+typedef unsigned short int uint16_t;
+typedef unsigned int uint32_t;
+
+#else
#include <inttypes.h>
+#endif
+
#include <jbig2.h>
typedef struct fz_jbig2d_s fz_jbig2d;