From 4f4d91429dc2e12180b1277c60d2691158b21930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Wed, 26 Feb 2014 00:32:06 +0000 Subject: [PATCH] fixed 32-bit compilation (nw) --- src/osd/osdcomm.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/osd/osdcomm.h b/src/osd/osdcomm.h index 375db9d9058..81b1c97a3cd 100644 --- a/src/osd/osdcomm.h +++ b/src/osd/osdcomm.h @@ -165,8 +165,12 @@ __extension__ typedef signed long long INT64; #endif #if defined(_MSVC_VER) || defined(__MINGW32__) +#ifdef PTR64 #define SIZETFMT "I64u" #else +#define SIZETFMT "u" +#endif +#else #define SIZETFMT "zu" #endif