summaryrefslogtreecommitdiffstats
path: root/PCbuild/_elementtree.vcxproj
diff options
context:
space:
mode:
authorSegev Finer <segev208@gmail.com>2017-06-23 10:45:01 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-06-23 10:45:01 (GMT)
commit87c65550730a8f85ce339ba197bce4fb7e836619 (patch)
tree4c3e5e5b57801e150c0bb1a8a7cb343549e20836 /PCbuild/_elementtree.vcxproj
parent32cb968a2edd482891c33b6f2ebae10f1d305424 (diff)
downloadcpython-87c65550730a8f85ce339ba197bce4fb7e836619.zip
cpython-87c65550730a8f85ce339ba197bce4fb7e836619.tar.gz
cpython-87c65550730a8f85ce339ba197bce4fb7e836619.tar.bz2
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/_elementtree.vcxproj')
-rw-r--r--PCbuild/_elementtree.vcxproj2
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/_elementtree.vcxproj b/PCbuild/_elementtree.vcxproj
index 138d7b8..639ba47 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>