1 HACK: Fix build breakage on MacOS:
3 *** WARNING: renaming "pyexpat" since importing it failed: dlopen(build/lib.macosx-10.6-i386-3.3/pyexpat.so, 2): Symbol not found: _XML_ErrorString
5 This reverts c242a8f30806 from the python hg repo:
7 restore namespacing of pyexpat symbols (closes #19186)
10 See http://bugs.python.org/issue19186#msg214069
12 The recommendation to include Modules/inc at first broke the Linux build...
14 So do it this way, as it was before. Needs some realignment later.
16 --- python3/Modules/expat/expat_external.h
17 +++ python3/Modules/expat/expat_external.h
20 /* External API definitions */
22 -/* Namespace external symbols to allow multiple libexpat version to
24 -#include "pyexpatns.h"
26 #if defined(_MSC_EXTENSIONS) && !defined(__BEOS__) && !defined(__CYGWIN__)
27 #define XML_USE_MSC_EXTENSIONS 1