summaryrefslogtreecommitdiff
path: root/3rdparty/libconfig/wincompat.h
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-03-31 20:25:09 -0400
committergumi <git@gumi.ca>2020-05-07 16:09:28 -0400
commit79a92158c956c51b51777f37b545f94533fe9df6 (patch)
tree693298d64bbefd4d1bd38b14b822f8904f311dec /3rdparty/libconfig/wincompat.h
parented061fe91e164c8fb8516768d5b233a9c4b0aa06 (diff)
downloadhercules-79a92158c956c51b51777f37b545f94533fe9df6.tar.gz
hercules-79a92158c956c51b51777f37b545f94533fe9df6.tar.bz2
hercules-79a92158c956c51b51777f37b545f94533fe9df6.tar.xz
hercules-79a92158c956c51b51777f37b545f94533fe9df6.zip
libconfig: add support for binary and octal literals
Diffstat (limited to '3rdparty/libconfig/wincompat.h')
-rw-r--r--3rdparty/libconfig/wincompat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/3rdparty/libconfig/wincompat.h b/3rdparty/libconfig/wincompat.h
index f0719ea5f..cceb6f866 100644
--- a/3rdparty/libconfig/wincompat.h
+++ b/3rdparty/libconfig/wincompat.h
@@ -60,6 +60,8 @@
#define INT64_HEX_FMT "%I64X"
+#define INT64_OCT_FMT "%I64o"
+
#define FILE_SEPARATOR "\\"
#else /* defined(WIN32) || defined(__MINGW32__) */
@@ -69,6 +71,8 @@
#define INT64_HEX_FMT "%llX"
+#define INT64_OCT_FMT "%llo"
+
#define FILE_SEPARATOR "/"
#endif /* defined(WIN32) || defined(__MINGW32__) */