diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-04-29 12:37:25 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-04-29 12:37:25 (GMT) |
commit | b75d43d374ce781ba4c462b11456367ff81a6436 (patch) | |
tree | 195bf3fd97efb45e90f89c5dee27885da676f8b8 /Modules | |
parent | aa013da0b334522021b657de2f8dc6e36b53af66 (diff) | |
download | cpython-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.h | 19 |
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 */ |