summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorSegev Finer <segev208@gmail.com>2017-07-04 18:40:04 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-07-04 18:40:04 (GMT)
commitd0ae4be443332d63fafb304944842fbaece734a3 (patch)
tree141cd61faaf5e796d4fa2d635841c784bfd404f9 /PC
parent28b72baf3c1e57af0c9338fb41c89d62aa47a355 (diff)
downloadcpython-d0ae4be443332d63fafb304944842fbaece734a3.zip
cpython-d0ae4be443332d63fafb304944842fbaece734a3.tar.gz
cpython-d0ae4be443332d63fafb304944842fbaece734a3.tar.bz2
bpo-30726: Add _CRT_SECURE_NO_WARNINGS to _elementtree and pyexpat projects (#2572)
Diffstat (limited to 'PC')
-rw-r--r--PC/VS9.0/_elementtree.vcproj2
-rw-r--r--PC/VS9.0/pyexpat.vcproj2
2 files changed, 2 insertions, 2 deletions
diff --git a/PC/VS9.0/_elementtree.vcproj b/PC/VS9.0/_elementtree.vcproj
index 5e79955..f89409c 100644
--- a/PC/VS9.0/_elementtree.vcproj
+++ b/PC/VS9.0/_elementtree.vcproj
@@ -105,7 +105,7 @@
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\..\Modules\expat"
- PreprocessorDefinitions="USE_PYEXPAT_CAPI;XML_STATIC"
+ PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS;USE_PYEXPAT_CAPI;XML_STATIC"
/>
<Tool
Name="VCManagedResourceCompilerTool"
diff --git a/PC/VS9.0/pyexpat.vcproj b/PC/VS9.0/pyexpat.vcproj
index 32ec10d..76b698f 100644
--- a/PC/VS9.0/pyexpat.vcproj
+++ b/PC/VS9.0/pyexpat.vcproj
@@ -43,7 +43,7 @@
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=".\..\..\Modules\expat"
- PreprocessorDefinitions="PYEXPAT_EXPORTS;XML_STATIC"
+ PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS;PYEXPAT_EXPORTS;XML_STATIC"
/>
<Tool
Name="VCManagedResourceCompilerTool"