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 dc5d27636..f20764fb1 100644
--- a/src/Globals.h
+++ b/src/Globals.h
@@ -42,6 +42,8 @@
#define ALIGN_8
#define ALIGN_16
+ #define WARN_UNUSED
+
#define FORMATSTRING(formatIndex, va_argsIndex)
// MSVC has its own custom version of zu format
@@ -69,6 +71,8 @@
#define ALIGN_8 __attribute__((aligned(8)))
#define ALIGN_16 __attribute__((aligned(16)))
+ #define WARN_UNUSED __attribute__((warn_unused_result))
+
// Some portability macros :)
#define stricmp strcasecmp