diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-11 23:55:37 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-11 23:55:37 +0100 |
commit | 3d15319e3c125507e48a66b3cdbb30feeaa652c1 (patch) | |
tree | 98bcbc3d0274ebfa06729b83f15ecc417a25387f /Tools/ProtoProxy/Globals.h | |
parent | made format-nonliteral an error (diff) | |
download | cuberite-3d15319e3c125507e48a66b3cdbb30feeaa652c1.tar cuberite-3d15319e3c125507e48a66b3cdbb30feeaa652c1.tar.gz cuberite-3d15319e3c125507e48a66b3cdbb30feeaa652c1.tar.bz2 cuberite-3d15319e3c125507e48a66b3cdbb30feeaa652c1.tar.lz cuberite-3d15319e3c125507e48a66b3cdbb30feeaa652c1.tar.xz cuberite-3d15319e3c125507e48a66b3cdbb30feeaa652c1.tar.zst cuberite-3d15319e3c125507e48a66b3cdbb30feeaa652c1.zip |
Diffstat (limited to '')
-rw-r--r-- | Tools/ProtoProxy/Globals.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Tools/ProtoProxy/Globals.h b/Tools/ProtoProxy/Globals.h index 547903e7a..0724d3a52 100644 --- a/Tools/ProtoProxy/Globals.h +++ b/Tools/ProtoProxy/Globals.h @@ -37,6 +37,8 @@ // Some portability macros :) #define stricmp strcasecmp + + #define FORMATSTRING(formatIndex,va_argsIndex) #else @@ -59,6 +61,9 @@ #define ALIGN_16 */ + #define FORMATSTRING(formatIndex,va_argsIndex) __attribute__((format (printf, formatIndex, va_argsIndex))) + + #endif @@ -233,4 +238,4 @@ public: #define LOGERROR printf #define LOGINFO printf -#define LOGWARNING printf
\ No newline at end of file +#define LOGWARNING printf |