[trunk] Quick fix for MS compilers which do not ship inttypes.h

This commit is contained in:
Mathieu Malaterre 2012-03-17 18:20:52 +00:00
parent 811c01cc2e
commit 96d4d3f3be
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@
#include "opj_includes.h" #include "opj_includes.h"
#ifdef HAVE_INTTYPES_H #ifdef HAVE_INTTYPES_H
#include <inttypes.h> /* PRIi64 */ #include <inttypes.h> /* PRIi64 */
#else
#define PRIi64 "I64i"
#endif #endif
/** @defgroup J2K J2K - JPEG-2000 codestream reader/writer */ /** @defgroup J2K J2K - JPEG-2000 codestream reader/writer */