From 96d4d3f3bea1569daaf82937fd1934dc5eb35a32 Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Sat, 17 Mar 2012 18:20:52 +0000 Subject: [PATCH] [trunk] Quick fix for MS compilers which do not ship inttypes.h --- libopenjpeg/j2k.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libopenjpeg/j2k.c b/libopenjpeg/j2k.c index 958c5fb3..aa866346 100644 --- a/libopenjpeg/j2k.c +++ b/libopenjpeg/j2k.c @@ -36,6 +36,8 @@ #include "opj_includes.h" #ifdef HAVE_INTTYPES_H #include /* PRIi64 */ +#else +#define PRIi64 "I64i" #endif /** @defgroup J2K J2K - JPEG-2000 codestream reader/writer */