Skip to content

Commit 2082a93

Browse files
authored
Merge pull request #4589 from thewtex/py-limited-minor-version
BUG: Fix Py_LIMITED_API minor version spec
2 parents 527fc16 + 8b47787 commit 2082a93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Wrapping/macro_files/itk_end_wrap_module.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ ${DO_NOT_WAIT_FOR_THREADS_CALLS}
435435

436436
# Python Limited API / Stable ABI
437437
if (ITK_USE_PYTHON_LIMITED_API)
438-
target_compile_definitions(${lib} PUBLIC -DPy_LIMITED_API=0x03110000)
438+
target_compile_definitions(${lib} PUBLIC -DPy_LIMITED_API=0x030b0000)
439439
endif()
440440
# Link the modules together
441441
target_link_libraries(${lib} LINK_PUBLIC ${WRAPPER_LIBRARY_LINK_LIBRARIES})

0 commit comments

Comments
 (0)