summaryrefslogtreecommitdiffstats
path: root/Utilities/cmexpat/expatConfig.h.in
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-06-25 18:04:12 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-06-25 18:04:12 (GMT)
commit9d4b5e52c18ded5dd55fdd21f629ff9d13f99d8c (patch)
tree3a8ff714eb1a58274bd1c01855947785d2c39079 /Utilities/cmexpat/expatConfig.h.in
parent2cf4a0270a1754c0e827795e611a201afcba076c (diff)
downloadCMake-9d4b5e52c18ded5dd55fdd21f629ff9d13f99d8c.zip
CMake-9d4b5e52c18ded5dd55fdd21f629ff9d13f99d8c.tar.gz
CMake-9d4b5e52c18ded5dd55fdd21f629ff9d13f99d8c.tar.bz2
ENH: Initial import of expat
Diffstat (limited to 'Utilities/cmexpat/expatConfig.h.in')
-rw-r--r--Utilities/cmexpat/expatConfig.h.in43
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