diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-06-23 08:09:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-23 08:09:34 (GMT) |
commit | c8fb58bd7917151e63398587a7fc2126db7c26de (patch) | |
tree | bc6a736a92663b7fe51235288f2a9c769ac747c9 | |
parent | 073ae487b3ff9001c69d530c7555ddaa530dee16 (diff) | |
download | cpython-c8fb58bd7917151e63398587a7fc2126db7c26de.zip cpython-c8fb58bd7917151e63398587a7fc2126db7c26de.tar.gz cpython-c8fb58bd7917151e63398587a7fc2126db7c26de.tar.bz2 |
bpo-30726: PCbuild _elementtree: remove duplicate defines (#2348)
bpo-30726, bpo-29591: libexpat 2.2.1 of Modules/expat/ now uses
a winconfig.h configuration file which already defines:
* XML_NS
* XML_DTD
* BYTEORDER=1234
* XML_CONTEXT_BYTES=1024
* HAVE_MEMMOVE
Remove these defines from PCbuild/_elementtree.vcxproj to prevent
compiler warnings.
Co-Authored-By: Jeremy Kloth <jeremy.kloth@gmail.com>
-rw-r--r-- | PCbuild/_elementtree.vcxproj | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PCbuild/_elementtree.vcxproj b/PCbuild/_elementtree.vcxproj index 725b5a9..138d7b8 100644 --- a/PCbuild/_elementtree.vcxproj +++ b/PCbuild/_elementtree.vcxproj @@ -62,7 +62,7 @@ <ItemDefinitionGroup> <ClCompile> <AdditionalIncludeDirectories>..\Modules\expat;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>XML_NS;XML_DTD;BYTEORDER=1234;XML_CONTEXT_BYTES=1024;USE_PYEXPAT_CAPI;XML_STATIC;HAVE_MEMMOVE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>USE_PYEXPAT_CAPI;XML_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions> </ClCompile> <Link> <BaseAddress>0x1D100000</BaseAddress> @@ -103,4 +103,4 @@ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> </ImportGroup> -</Project>
\ No newline at end of file +</Project> |