summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-04-01 13:09:33 (GMT)
committerGitHub <noreply@github.com>2021-04-01 13:09:33 (GMT)
commit2ac0515027699b5694d9a6ff40f1ddaba82c74c2 (patch)
tree75a0082d9f3ec7f987ada46a85fe4acdd4311cfd /PCbuild
parent61092a99c4840f36dbde8457cb566fc3c012930f (diff)
downloadcpython-2ac0515027699b5694d9a6ff40f1ddaba82c74c2.zip
cpython-2ac0515027699b5694d9a6ff40f1ddaba82c74c2.tar.gz
cpython-2ac0515027699b5694d9a6ff40f1ddaba82c74c2.tar.bz2
bpo-43688: Fix Py_LIMITED_API version of xxlimited (GH-25135)
xxlimited targets Python 3.10, not Python 3.16: fix the hexadecimal version number used in the Py_LIMITED_API macro.
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/xxlimited.vcxproj2
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/xxlimited.vcxproj b/PCbuild/xxlimited.vcxproj
index ece1691..61e4e57 100644
--- a/PCbuild/xxlimited.vcxproj
+++ b/PCbuild/xxlimited.vcxproj
@@ -94,7 +94,7 @@
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
- <PreprocessorDefinitions>%(PreprocessorDefinitions);Py_LIMITED_API=0x03100000</PreprocessorDefinitions>
+ <PreprocessorDefinitions>%(PreprocessorDefinitions);Py_LIMITED_API=0x030A0000</PreprocessorDefinitions>
</ClCompile>
<Link>
<AdditionalDependencies>wsock32.lib;%(AdditionalDependencies)</AdditionalDependencies>