[Python-checkins] r45808 - in python/trunk: Misc/NEWS Modules/expat/expat_config.h
martin.v.loewis
python-checkins at python.org
Sat Apr 29 14:37:26 CEST 2006
Author: martin.v.loewis
Date: Sat Apr 29 14:37:25 2006
New Revision: 45808
Added:
python/trunk/Modules/expat/expat_config.h (contents, props changed)
Modified:
python/trunk/Misc/NEWS
Log:
Further changes for #1471883: Edit Misc/NEWS, and
add expat_config.h.
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Sat Apr 29 14:37:25 2006
@@ -142,6 +142,8 @@
Build
-----
+- Patch #1471883: Add --enable-universalsdk.
+
- The Makefile now has a reindent target, which runs reindent.py on
the library.
Added: python/trunk/Modules/expat/expat_config.h
==============================================================================
--- (empty file)
+++ python/trunk/Modules/expat/expat_config.h Sat Apr 29 14:37:25 2006
@@ -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 */
More information about the Python-checkins
mailing list