From d0ae4be443332d63fafb304944842fbaece734a3 Mon Sep 17 00:00:00 2001 From: Segev Finer Date: Tue, 4 Jul 2017 21:40:04 +0300 Subject: [PATCH] bpo-30726: Add _CRT_SECURE_NO_WARNINGS to _elementtree and pyexpat projects (#2572) --- PC/VS9.0/_elementtree.vcproj | 2 +- PC/VS9.0/pyexpat.vcproj | 2 +- PCbuild/_elementtree.vcxproj | 2 +- PCbuild/pyexpat.vcxproj | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PC/VS9.0/_elementtree.vcproj b/PC/VS9.0/_elementtree.vcproj index 5e79955767..f89409cc3e 100644 --- a/PC/VS9.0/_elementtree.vcproj +++ b/PC/VS9.0/_elementtree.vcproj @@ -105,7 +105,7 @@ ..\Modules\expat;%(AdditionalIncludeDirectories) - USE_PYEXPAT_CAPI;XML_STATIC;%(PreprocessorDefinitions) + _CRT_SECURE_NO_WARNINGS;USE_PYEXPAT_CAPI;XML_STATIC;%(PreprocessorDefinitions) 0x1D100000 diff --git a/PCbuild/pyexpat.vcxproj b/PCbuild/pyexpat.vcxproj index 6d036d13da..61a2697e11 100644 --- a/PCbuild/pyexpat.vcxproj +++ b/PCbuild/pyexpat.vcxproj @@ -59,7 +59,7 @@ $(PySourcePath)Modules\expat;%(AdditionalIncludeDirectories) - PYEXPAT_EXPORTS;XML_STATIC;%(PreprocessorDefinitions) + _CRT_SECURE_NO_WARNINGS;PYEXPAT_EXPORTS;XML_STATIC;%(PreprocessorDefinitions) -- 2.50.1