diff options
author | 2016-04-12 20:29:56 +1000 | |
---|---|---|
committer | 2016-04-12 20:53:04 +1000 | |
commit | 8795f92f35781253b84a7a798685fa3b1424b5e3 (patch) | |
tree | 56b438ba13bce59c86d99d50d51c9d44be7346bd /scripts/src | |
parent | 9dddd772874e3f31b4a4990ef78f19e032498333 (diff) |
Update expat to 2.1.1 for security and bug fixes
Diffstat (limited to 'scripts/src')
-rw-r--r-- | scripts/src/3rdparty.lua | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index cfb6fa14069..26d5c687cd0 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -18,6 +18,34 @@ project "expat" uuid "f4cd40b1-c37c-452d-9785-640f26f0bf54" kind "StaticLib" + -- fake out the enough of expat_config.h to get by + defines { + "HAVE_MEMMOVE", + "HAVE_STDINT_H", + "HAVE_STDLIB_H", + "HAVE_STRING_H", + "PACKAGE_BUGREPORT=\"expat-bugs@libexpat.org\"", + "PACKAGE_NAME=\"expat\"", + "PACKAGE_STRING=\"expat 2.1.1\"", + "PACKAGE_TARNAME=\"expat\"", + "PACKAGE_URL=\"\"", + "PACKAGE_VERSION=\"2.1.1\"", + "STDC_HEADERS", + "XML_CONTEXT_BYTES=1024", + "XML_DTD", + "XML_NS", + } +if _OPTIONS["BIGENDIAN"]=="1" then + defines { + "BYTEORDER=4321", + "WORDS_BIGENDIAN", + } +else + defines { + "BYTEORDER=1234", + } +end + configuration { "vs*" } buildoptions { "/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter |