From 382bfad14bdf6344014de0312938fffc0c42a9f8 Mon Sep 17 00:00:00 2001 From: i-nod Date: Sat, 6 Mar 2010 20:21:53 +0000 Subject: [PATCH] Define PRIu32 conversion macros for MSVC. git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10173 4a71c877-e1ca-e34f-864e-861f7616d084 --- lib/framework/types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/framework/types.h b/lib/framework/types.h index 0455dd29e..4eedd4cae 100644 --- a/lib/framework/types.h +++ b/lib/framework/types.h @@ -44,7 +44,8 @@ # define UINT16_MAX (65535) # define UINT32_MAX (4294967295U) #ifdef WZ_CC_MSVC -#define PRIu64 "I64u" +# define PRIu32 "u" +# define PRIu64 "I64u" #endif #endif // WZ_C99