diff options
author | tycho <work.tycho@gmail.com> | 2015-09-20 23:01:39 +0200 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-12-18 19:13:44 +0100 |
commit | 8d087c2ea00ebdada793a03ef885faf6b22ec9d6 (patch) | |
tree | 8e05043e876c186d809b617a5102f2946e4a0928 /src/Globals.h | |
parent | Merge pull request #2774 from cuberite/worktycho-patch-1 (diff) | |
download | cuberite-8d087c2ea00ebdada793a03ef885faf6b22ec9d6.tar cuberite-8d087c2ea00ebdada793a03ef885faf6b22ec9d6.tar.gz cuberite-8d087c2ea00ebdada793a03ef885faf6b22ec9d6.tar.bz2 cuberite-8d087c2ea00ebdada793a03ef885faf6b22ec9d6.tar.lz cuberite-8d087c2ea00ebdada793a03ef885faf6b22ec9d6.tar.xz cuberite-8d087c2ea00ebdada793a03ef885faf6b22ec9d6.tar.zst cuberite-8d087c2ea00ebdada793a03ef885faf6b22ec9d6.zip |
Diffstat (limited to 'src/Globals.h')
-rw-r--r-- | src/Globals.h | 4 |
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 |