Staging
v0.5.1
https://github.com/python/cpython
Revision 8b11e8de7aedacfbbcc8c780f3c4097396f1d1a3 authored by Victor Stinner on 29 November 2017, 18:50:42 UTC, committed by larryhastings on 29 November 2017, 18:50:42 UTC
* bpo-31170: Fix inclusion of expat in Windows build projects

Co-Authored-By: Steve Dower <steve.dower@microsoft.com>

* expat: Fix compilation on Visual Studio 2010

The standard header stdbool.h is not available
with old Visual Studio compilers

Cherry-picked from libexpat commit b4b89c2ab0cc5325a41360c25ef9d2ccbe617e5c.

expat: Add artificial scopes in xmltok.c utf8_toUtf8() to fix c89 compilation.

Cherry-picked from libexpat commit e0b290eb3d8f4c4b45137a7d7f4f8db812145bd2

* Expat: fix preprocessor defines in VS projects

Remove the following defines:

* BYTEORDER=1234
* HAVE_MEMMOVE
* USE_PYEXPAT_CAPI
* XML_CONTEXT_BYTES=1024
* XML_DTD
* XML_NS
* XML_STATIC

* PCbuild/pyexpat.vcxproj: define _CRT_SECURE_NO_WARNINGS
1 parent 5d7fc42
History
Tip revision: 8b11e8de7aedacfbbcc8c780f3c4097396f1d1a3 authored by Victor Stinner on 29 November 2017, 18:50:42 UTC
[3.4] bpo-31170: Fix inclusion of expat in Windows build projects (#3785)
Tip revision: 8b11e8d
File Mode Size
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.bzrignore -rw-r--r-- 584 bytes
.gitignore -rw-r--r-- 1.1 KB
.hgeol -rw-r--r-- 996 bytes
.hgignore -rw-r--r-- 1.3 KB
.hgtags -rw-r--r-- 7.2 KB
.hgtouch -rw-r--r-- 1.2 KB
.travis.yml -rw-r--r-- 2.8 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 54.0 KB
README -rw-r--r-- 6.6 KB
aclocal.m4 -rw-r--r-- 8.3 KB
config.guess -rwxr-xr-x 41.9 KB
config.sub -rwxr-xr-x 34.9 KB
configure -rwxr-xr-x 440.4 KB
configure.ac -rw-r--r-- 138.8 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 40.2 KB
setup.py -rw-r--r-- 95.4 KB

README

back to top