diff options
author | Victor Stinner <vstinner@python.org> | 2021-04-02 14:48:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-02 14:48:11 (GMT) |
commit | 240bcf82a11fe7433a61da70605e924c53b88096 (patch) | |
tree | 9bbcbb1a1b60f0c7d43e0f6f07f84d8a458f2511 /PCbuild | |
parent | 9bb5658bd122d40fff9f34a912be3297b303d18b (diff) | |
download | cpython-240bcf82a11fe7433a61da70605e924c53b88096.zip cpython-240bcf82a11fe7433a61da70605e924c53b88096.tar.gz cpython-240bcf82a11fe7433a61da70605e924c53b88096.tar.bz2 |
bpo-41111: xxlimited.c defines Py_LIMITED_API (GH-25151)
xxlimited.c and xxlimited_35.c now define the Py_LIMITED_API macro,
rather than having to do it in the build recipe.
Co-authored-by: Hai Shi <shihai1992@gmail.com>
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/xxlimited.vcxproj | 3 | ||||
-rw-r--r-- | PCbuild/xxlimited_35.vcxproj | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/PCbuild/xxlimited.vcxproj b/PCbuild/xxlimited.vcxproj index 61e4e57..1c776fb 100644 --- a/PCbuild/xxlimited.vcxproj +++ b/PCbuild/xxlimited.vcxproj @@ -93,9 +93,6 @@ <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> </PropertyGroup> <ItemDefinitionGroup> - <ClCompile> - <PreprocessorDefinitions>%(PreprocessorDefinitions);Py_LIMITED_API=0x030A0000</PreprocessorDefinitions> - </ClCompile> <Link> <AdditionalDependencies>wsock32.lib;%(AdditionalDependencies)</AdditionalDependencies> </Link> diff --git a/PCbuild/xxlimited_35.vcxproj b/PCbuild/xxlimited_35.vcxproj index 7e49ead..dd830b3 100644 --- a/PCbuild/xxlimited_35.vcxproj +++ b/PCbuild/xxlimited_35.vcxproj @@ -93,9 +93,6 @@ <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> </PropertyGroup> <ItemDefinitionGroup> - <ClCompile> - <PreprocessorDefinitions>%(PreprocessorDefinitions);Py_LIMITED_API=0x03060000</PreprocessorDefinitions> - </ClCompile> <Link> <AdditionalDependencies>wsock32.lib;%(AdditionalDependencies)</AdditionalDependencies> </Link> |