From b75d43d374ce781ba4c462b11456367ff81a6436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 29 Apr 2006 12:37:25 +0000 Subject: [PATCH] Further changes for #1471883: Edit Misc/NEWS, and add expat_config.h. --- Misc/NEWS | 2 ++ Modules/expat/expat_config.h | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 Modules/expat/expat_config.h diff --git a/Misc/NEWS b/Misc/NEWS index 28cb4756530..f4a69b69373 100644 --- 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 index 00000000000..b8c1639b976 --- /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 +#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 */