MSVC doesn't know PRI?64.

This commit is contained in:
Moritz Bunkus 2005-10-13 19:52:04 +00:00
parent 5c06fa248c
commit b6e9ef00be

View File

@ -92,6 +92,12 @@ typedef _fsize_t ssize_t;
# include <inttypes.h> # include <inttypes.h>
#endif // HAVE_INTTYPES_H #endif // HAVE_INTTYPES_H
#if defined(COMP_MSC)
# define PRId64 "I64d"
# define PRIu64 "I64u"
# define PRIx64 "I64x"
#endif
#define LLD "%" PRId64 #define LLD "%" PRId64
#define LLU "%" PRIu64 #define LLU "%" PRIu64