diff options
Diffstat (limited to 'Utilities/cmexpat/expatConfig.h.in')
-rw-r--r-- | Utilities/cmexpat/expatConfig.h.in | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/Utilities/cmexpat/expatConfig.h.in b/Utilities/cmexpat/expatConfig.h.in new file mode 100644 index 0000000..8f9669a --- /dev/null +++ b/Utilities/cmexpat/expatConfig.h.in @@ -0,0 +1,43 @@ +#include "cm_expat_mangle.h" +#if defined(_WIN32) || defined(WIN32) + +#define WIN32_LEAN_AND_MEAN +#include <windows.h> +#undef WIN32_LEAN_AND_MEAN +#include <memory.h> +#include <string.h> +#define XML_BYTE_ORDER 12 + +#else + +#cmakedefine CMEXPAT_BIGENDIAN +#ifdef CMEXPAT_BIGENDIAN +# define XML_BYTE_ORDER 21 +#else +# define XML_BYTE_ORDER 12 +#endif + +#endif + +#define XML_NS +#define XML_DTD +#define XML_CONTEXT_BYTES 1024 + +#if defined ( _MSC_VER ) +#pragma warning ( disable : 4100 ) +#pragma warning ( disable : 4127 ) +#pragma warning ( disable : 4244 ) +#pragma warning ( disable : 4251 ) +#pragma warning ( disable : 4305 ) +#pragma warning ( disable : 4309 ) +#pragma warning ( disable : 4702 ) +#pragma warning ( disable : 4706 ) +#pragma warning ( disable : 4786 ) +#pragma warning ( disable : 4057 ) +#pragma warning ( disable : 4189 ) +#pragma warning ( disable : 4505 ) +#endif + +#define VERSION "1.95.2" + +#define cmExpatUnused(x) (void)x |