diff options
-rw-r--r-- | Misc/NEWS | 2 | ||||
-rw-r--r-- | Modules/expat/expat_config.h | 19 |
2 files changed, 21 insertions, 0 deletions
@@ -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 index 0000000000..b8c1639b97 --- /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 */ |