summaryrefslogtreecommitdiffstats
path: root/src/Globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Globals.h')
-rw-r--r--src/Globals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Globals.h b/src/Globals.h
index b42a06970..faa168c59 100644
--- a/src/Globals.h
+++ b/src/Globals.h
@@ -39,6 +39,8 @@
#define ALIGN_8
#define ALIGN_16
+ #define FORMATSTRING(formatIndex,va_argsIndex)
+
// MSVC has its own custom version of zu format
#define SIZE_T_FMT "%Iu"
@@ -60,6 +62,8 @@
// Some portability macros :)
#define stricmp strcasecmp
+ #define FORMATSTRING(formatIndex,va_argsIndex) __attribute__((format (printf, formatIndex, va_argsIndex)))
+
#define SIZE_T_FMT "%zu"
#else