Fix warning for bcc64 compiler
bcc64 produces a warning for fprintf methods, that uses PRIi64 specifier. "[bcc64 Warning] j2k.c(9454): invalid conversion specifier 'I'" This modification fixes the warning.
This commit is contained in:
parent
7113c4e3bb
commit
9fd532ac96
|
@ -36,10 +36,17 @@
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#else
|
#else
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
|
#if defined(__BORLANDC__) && defined(_WIN64)
|
||||||
|
#define PRId64 "lld"
|
||||||
|
#define PRIi64 "lli"
|
||||||
|
#define PRIu64 "llu"
|
||||||
|
#define PRIx64 "llx"
|
||||||
|
#else
|
||||||
#define PRId64 "I64d"
|
#define PRId64 "I64d"
|
||||||
#define PRIi64 "I64i"
|
#define PRIi64 "I64i"
|
||||||
#define PRIu64 "I64u"
|
#define PRIu64 "I64u"
|
||||||
#define PRIx64 "I64x"
|
#define PRIx64 "I64x"
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#error unsupported platform
|
#error unsupported platform
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue