]> granicus.if.org Git - python/commitdiff
Further changes for #1471883: Edit Misc/NEWS, and
authorMartin v. Löwis <martin@v.loewis.de>
Sat, 29 Apr 2006 12:37:25 +0000 (12:37 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sat, 29 Apr 2006 12:37:25 +0000 (12:37 +0000)
add expat_config.h.

Misc/NEWS
Modules/expat/expat_config.h [new file with mode: 0644]

index 28cb4756530b0f5de353c6c71a3486a89b801188..f4a69b69373aaec2b43567230d5682cdfcb8e7fb 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -142,6 +142,8 @@ Library
 Build
 -----
 
+- Patch #1471883: Add --enable-universalsdk.
+
 - The Makefile now has a reindent target, which runs reindent.py on
   the library.
 
diff --git a/Modules/expat/expat_config.h b/Modules/expat/expat_config.h
new file mode 100644 (file)
index 0000000..b8c1639
--- /dev/null
@@ -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 */