summaryrefslogtreecommitdiffstats
path: root/src/Globals.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Globals.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Globals.h b/src/Globals.h
index 5ced0cc39..b42a06970 100644
--- a/src/Globals.h
+++ b/src/Globals.h
@@ -38,6 +38,9 @@
// No alignment needed in MSVC
#define ALIGN_8
#define ALIGN_16
+
+ // MSVC has its own custom version of zu format
+ #define SIZE_T_FMT "%Iu"
#elif defined(__GNUC__)
@@ -56,6 +59,8 @@
// Some portability macros :)
#define stricmp strcasecmp
+
+ #define SIZE_T_FMT "%zu"
#else