summaryrefslogtreecommitdiffstats
path: root/PCbuild/pyexpat.vcxproj
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-10-22 16:28:23 (GMT)
committerGitHub <noreply@github.com>2021-10-22 16:28:23 (GMT)
commitec93721e0066c4cbe40085188a9bf0952aa935ef (patch)
treeb448fae493616dbad2a759a1a7d591fda3dfc51d /PCbuild/pyexpat.vcxproj
parentb781cc3bfce7c052728b06aad9f1a467cced289d (diff)
downloadcpython-ec93721e0066c4cbe40085188a9bf0952aa935ef.zip
cpython-ec93721e0066c4cbe40085188a9bf0952aa935ef.tar.gz
cpython-ec93721e0066c4cbe40085188a9bf0952aa935ef.tar.bz2
bpo-45570: Simplify setup macros for pyexpat (GH-29159)
* ``HAVE_EXPAT_CONFIG_H`` is not used by our code and not used by system-wide expat header files * ``USE_PYEXPAT_CAPI`` is no longer used by our code * ``XML_POOR_ENTROPY`` should be defined in expat_config.h Signed-off-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'PCbuild/pyexpat.vcxproj')
-rw-r--r--PCbuild/pyexpat.vcxproj2
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/pyexpat.vcxproj b/PCbuild/pyexpat.vcxproj
index b2d9f5d..001f8af 100644
--- a/PCbuild/pyexpat.vcxproj
+++ b/PCbuild/pyexpat.vcxproj
@@ -91,7 +91,7 @@
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(PySourcePath)Modules\expat;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;PYEXPAT_EXPORTS;HAVE_EXPAT_H;XML_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;PYEXPAT_EXPORTS;XML_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>