diff options
author | Brad King <brad.king@kitware.com> | 2017-06-19 19:26:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-06-19 19:26:00 (GMT) |
commit | 0a40c668f5bd60e68cde3fc7803aec2611f6c1c3 (patch) | |
tree | 20a8fcda4b76c7ffb657bb6f53ded61261f72d87 /Utilities/cmexpat/lib/winconfig.h | |
parent | d9d191a19f4a383e6e5a56d016526323476ce001 (diff) | |
parent | 4b8a8c226fd7fe19d9445664c4cb9ff084b44281 (diff) | |
download | CMake-0a40c668f5bd60e68cde3fc7803aec2611f6c1c3.zip CMake-0a40c668f5bd60e68cde3fc7803aec2611f6c1c3.tar.gz CMake-0a40c668f5bd60e68cde3fc7803aec2611f6c1c3.tar.bz2 |
Merge branch 'upstream-expat' into update-expat
* upstream-expat:
expat 2017-06-17 (c4446687)
Diffstat (limited to 'Utilities/cmexpat/lib/winconfig.h')
-rw-r--r-- | Utilities/cmexpat/lib/winconfig.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/Utilities/cmexpat/lib/winconfig.h b/Utilities/cmexpat/lib/winconfig.h index d7dad38..c9dbfea 100644 --- a/Utilities/cmexpat/lib/winconfig.h +++ b/Utilities/cmexpat/lib/winconfig.h @@ -17,7 +17,24 @@ #include <memory.h> #include <string.h> -#include "expat_config.h" + +#if defined(HAVE_EXPAT_CONFIG_H) /* e.g. MinGW */ +# include <expat_config.h> +#else /* !defined(HAVE_EXPAT_CONFIG_H) */ + + +#define XML_NS 1 +#define XML_DTD 1 +#define XML_CONTEXT_BYTES 1024 + +/* we will assume all Windows platforms are little endian */ +#define BYTEORDER 1234 + +/* Windows has memmove() available. */ +#define HAVE_MEMMOVE + + +#endif /* !defined(HAVE_EXPAT_CONFIG_H) */ #if defined(_MSC_VER) # pragma warning(push,1) |