summaryrefslogtreecommitdiff
path: root/3rdparty/libconfig/libconfig.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/libconfig.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/libconfig.h')
-rw-r--r--3rdparty/libconfig/libconfig.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/3rdparty/libconfig/libconfig.h b/3rdparty/libconfig/libconfig.h
index 5662968a7..8c432b023 100644
--- a/3rdparty/libconfig/libconfig.h
+++ b/3rdparty/libconfig/libconfig.h
@@ -57,6 +57,8 @@ extern "C" {
#define CONFIG_FORMAT_DEFAULT 0
#define CONFIG_FORMAT_HEX 1
+#define CONFIG_FORMAT_BIN 2
+#define CONFIG_FORMAT_OCT 3
#define CONFIG_OPTION_AUTOCONVERT 0x01
#define CONFIG_OPTION_SEMICOLON_SEPARATORS 0x02