Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add pyconfig.h include
  • Loading branch information
vstinner committed Apr 3, 2024
commit fdca230eb3b9de1a3d014d5bd04d39b7856d8557
1 change: 1 addition & 0 deletions Modules/_testlimitedcapi/list.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Need limited C API version 3.13 for PyList_GetItemRef()
#include "pyconfig.h" // Py_GIL_DISABLED
#if !defined(Py_GIL_DISABLED) && !defined(Py_LIMITED_API )
Comment thread
vstinner marked this conversation as resolved.
Outdated
Comment thread
vstinner marked this conversation as resolved.
Outdated
# define Py_LIMITED_API 0x030d0000
#endif
Expand Down