Fix PRIuMAX definition for MinGW.

Since MinGW calls into Microsoft's MSVCRT.DLL, it must use the printf
format that this DLL uses for 64bit integers, which is %I64u instead of
%llu.
This commit is contained in:
Johannes Sixt
2007-03-23 10:57:05 +01:00
parent bff909b882
commit 6b943f171b

View File

@@ -74,7 +74,11 @@
#endif
#ifndef PRIuMAX
#ifndef __MINGW32__
#define PRIuMAX "llu"
#else
#define PRIuMAX "I64u"
#endif
#endif
#ifdef __GNUC__