aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/logging.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-12-15 03:30:47 -0800
committerChris Robinson <[email protected]>2018-12-15 03:30:47 -0800
commite0f635b20d989a5083112aa70960cc89e6bc553c (patch)
tree9e8f2ca7b87159ad50342938bbe5ec5719c1abeb /Alc/logging.h
parent0dd13a9dfed47660946fa9d37a1fc35e44b73687 (diff)
Move some ambisonic-related macros to a separate header
Diffstat (limited to 'Alc/logging.h')
-rw-r--r--Alc/logging.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Alc/logging.h b/Alc/logging.h
index f493d973..41f64f77 100644
--- a/Alc/logging.h
+++ b/Alc/logging.h
@@ -4,6 +4,14 @@
#include <stdio.h>
+#if defined(_WIN64)
+#define SZFMT "%I64u"
+#elif defined(_WIN32)
+#define SZFMT "%u"
+#else
+#define SZFMT "%zu"
+#endif
+
#ifdef __GNUC__
#define DECL_FORMAT(x, y, z) __attribute__((format(x, (y), (z))))
#else