summaryrefslogtreecommitdiff
path: root/PCbuild
diff options
context:
space:
mode:
authorSegev Finer <segev208@gmail.com>2017-06-23 13:45:01 +0300
committerVictor Stinner <victor.stinner@gmail.com>2017-06-23 12:45:01 +0200
commit87c65550730a8f85ce339ba197bce4fb7e836619 (patch)
tree4c3e5e5b57801e150c0bb1a8a7cb343549e20836 /PCbuild
parent32cb968a2edd482891c33b6f2ebae10f1d305424 (diff)
downloadcpython-git-87c65550730a8f85ce339ba197bce4fb7e836619.tar.gz
bpo-30726: Fix elementtree warnings on Windows due to expat upgrade (#2319)
* bpo-30726: Fix elementtree warnings on Windows Caused by usage of `getenv` which should be safe. And a few integer truncations which should also be ok. * bpo-30726: Don't ignore libexpat warnings which haypo intends to fix upstream
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/_elementtree.vcxproj2
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/_elementtree.vcxproj b/PCbuild/_elementtree.vcxproj
index 138d7b8a5d..639ba479db 100644
--- a/PCbuild/_elementtree.vcxproj
+++ b/PCbuild/_elementtree.vcxproj
@@ -62,7 +62,7 @@
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>..\Modules\expat;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>USE_PYEXPAT_CAPI;XML_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;USE_PYEXPAT_CAPI;XML_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<BaseAddress>0x1D100000</BaseAddress>