summaryrefslogtreecommitdiffstats
path: root/Tools/MCADefrag/Globals.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-11 23:55:37 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-11 23:55:37 +0100
commit3d15319e3c125507e48a66b3cdbb30feeaa652c1 (patch)
tree98bcbc3d0274ebfa06729b83f15ecc417a25387f /Tools/MCADefrag/Globals.h
parentmade format-nonliteral an error (diff)
downloadcuberite-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 'Tools/MCADefrag/Globals.h')
-rw-r--r--Tools/MCADefrag/Globals.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tools/MCADefrag/Globals.h b/Tools/MCADefrag/Globals.h
index 6f4bbdc76..0f31de7e3 100644
--- a/Tools/MCADefrag/Globals.h
+++ b/Tools/MCADefrag/Globals.h
@@ -37,7 +37,8 @@
// Some portability macros :)
#define stricmp strcasecmp
-
+
+ #define FORMATSTRING(formatIndex,va_argsIndex)
#else
#error "You are using an unsupported compiler, you might need to #define some stuff here for your compiler"
@@ -58,6 +59,8 @@
#define ALIGN_8
#define ALIGN_16
*/
+
+ #define FORMATSTRING(formatIndex,va_argsIndex) __attribute__((format (printf, formatIndex, va_argsIndex)))
#endif