diff options
author | Petr Viktorin <encukou@gmail.com> | 2020-12-08 16:36:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-08 16:36:53 (GMT) |
commit | c168b5078f88874b9acd993ac886f82269c780dd (patch) | |
tree | e4c2b04e56d9be570f7d7f33c4f8d1d0a180e6f9 /PCbuild/xxlimited.vcxproj | |
parent | 4aa67853cc7d6ed4f9ebb726ceaa2c89f9feabda (diff) | |
download | cpython-c168b5078f88874b9acd993ac886f82269c780dd.zip cpython-c168b5078f88874b9acd993ac886f82269c780dd.tar.gz cpython-c168b5078f88874b9acd993ac886f82269c780dd.tar.bz2 |
bpo-42111: Make the xxlimited module an example of best extension module practices (GH-23226)
- Copy existing xxlimited to xxlimited53 (named for the limited API version it uses)
- Build both modules, both in debug and release
- Test both modules
Diffstat (limited to 'PCbuild/xxlimited.vcxproj')
-rw-r--r-- | PCbuild/xxlimited.vcxproj | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PCbuild/xxlimited.vcxproj b/PCbuild/xxlimited.vcxproj index 776335a1..ece1691 100644 --- a/PCbuild/xxlimited.vcxproj +++ b/PCbuild/xxlimited.vcxproj @@ -94,7 +94,7 @@ </PropertyGroup> <ItemDefinitionGroup> <ClCompile> - <PreprocessorDefinitions>%(PreprocessorDefinitions);Py_LIMITED_API=0x03060000</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions);Py_LIMITED_API=0x03100000</PreprocessorDefinitions> </ClCompile> <Link> <AdditionalDependencies>wsock32.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -111,4 +111,4 @@ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> </ImportGroup> -</Project>
\ No newline at end of file +</Project> |