From b6e9ef00beb5ccfb001aa9482dfe5d955a638192 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 13 Oct 2005 19:52:04 +0000 Subject: [PATCH] MSVC doesn't know PRI?64. --- src/common/os.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/common/os.h b/src/common/os.h index 1fb4e58fd..7e3f2842d 100644 --- a/src/common/os.h +++ b/src/common/os.h @@ -92,6 +92,12 @@ typedef _fsize_t ssize_t; # include #endif // HAVE_INTTYPES_H +#if defined(COMP_MSC) +# define PRId64 "I64d" +# define PRIu64 "I64u" +# define PRIx64 "I64x" +#endif + #define LLD "%" PRId64 #define LLU "%" PRIu64