summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-12 19:56:24 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-12 19:56:24 +0100
commit9a28d1bbe1fc85981ded03e1d190612e6a688b5e (patch)
tree4faf70463217f812caf372f79838f2453bda76f4
parentAdded additional macros to support the MSVC size_t format and changed all formats to use the macros (diff)
downloadcuberite-9a28d1bbe1fc85981ded03e1d190612e6a688b5e.tar
cuberite-9a28d1bbe1fc85981ded03e1d190612e6a688b5e.tar.gz
cuberite-9a28d1bbe1fc85981ded03e1d190612e6a688b5e.tar.bz2
cuberite-9a28d1bbe1fc85981ded03e1d190612e6a688b5e.tar.lz
cuberite-9a28d1bbe1fc85981ded03e1d190612e6a688b5e.tar.xz
cuberite-9a28d1bbe1fc85981ded03e1d190612e6a688b5e.tar.zst
cuberite-9a28d1bbe1fc85981ded03e1d190612e6a688b5e.zip
Diffstat (limited to '')
-rw-r--r--src/Globals.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Globals.h b/src/Globals.h
index 08d9e971a..45d403f27 100644
--- a/src/Globals.h
+++ b/src/Globals.h
@@ -39,7 +39,7 @@
#define ALIGN_8
#define ALIGN_16
- #define FORMATSTRING(formatIndex,va_argsIndex)
+ #define FORMATSTRING(formatIndex, va_argsIndex)
// MSVC has its own custom version of zu format
#define SIZE_T_FMT "%Iu"
@@ -64,7 +64,7 @@
// Some portability macros :)
#define stricmp strcasecmp
- #define FORMATSTRING(formatIndex,va_argsIndex) __attribute__((format (printf, formatIndex, va_argsIndex)))
+ #define FORMATSTRING(formatIndex, va_argsIndex) __attribute__((format (printf, formatIndex, va_argsIndex)))
#define SIZE_T_FMT "%zu"
#define SIZE_T_FMT_PRECISION(x) "%" #x "zu"