Incorporate Expat 1.95.6.

This commit is contained in:
Martin v. Löwis 2003-01-25 22:41:29 +00:00
parent 5a772d32f4
commit fc03a94aac
11 changed files with 5443 additions and 3941 deletions

View file

@ -690,9 +690,9 @@ class PyBuildExt(build_ext):
# More information on Expat can be found at www.libexpat.org.
#
if sys.byteorder == "little":
xmlbo = "12"
xmlbo = "1234"
else:
xmlbo = "21"
xmlbo = "4321"
expatinc = os.path.join(os.getcwd(), srcdir, 'Modules', 'expat')
exts.append(Extension('pyexpat',
sources = [
@ -702,10 +702,9 @@ class PyBuildExt(build_ext):
'expat/xmltok.c',
],
define_macros = [
('HAVE_EXPAT_H',None),
('XML_NS', '1'),
('XML_DTD', '1'),
('XML_BYTE_ORDER', xmlbo),
('BYTEORDER', xmlbo),
('XML_CONTEXT_BYTES','1024'),
],
include_dirs = [expatinc]