summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-04-29 12:37:25 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-04-29 12:37:25 (GMT)
commitb75d43d374ce781ba4c462b11456367ff81a6436 (patch)
tree195bf3fd97efb45e90f89c5dee27885da676f8b8 /Modules
parentaa013da0b334522021b657de2f8dc6e36b53af66 (diff)
downloadcpython-b75d43d374ce781ba4c462b11456367ff81a6436.zip
cpython-b75d43d374ce781ba4c462b11456367ff81a6436.tar.gz
cpython-b75d43d374ce781ba4c462b11456367ff81a6436.tar.bz2
Further changes for #1471883: Edit Misc/NEWS, and
add expat_config.h.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/expat/expat_config.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/Modules/expat/expat_config.h b/Modules/expat/expat_config.h
new file mode 100644
index 0000000..b8c1639
--- /dev/null
+++ b/Modules/expat/expat_config.h
@@ -0,0 +1,19 @@
+/*
+ * Expat configuration for python. This file is not part of the expat
+ * distribution.
+ */
+#ifndef EXPAT_CONFIG_H
+#define EXPAT_CONFIG_H
+
+#include <pyconfig.h>
+#ifdef WORDS_BIGENDIAN
+#define BYTEORDER 4321
+#else
+#define BYTEORDER 1234
+#endif
+
+#define XML_NS 1
+#define XML_DTD 1
+#define XML_CONTEXT_BYTES 1024
+
+#endif /* EXPAT_CONFIG_H */