Skip to content

Commit

Permalink
Update limited API version for _scproxy.c
Browse files Browse the repository at this point in the history
  • Loading branch information
swtaarrs committed May 1, 2024
1 parent 6882c13 commit da63df1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/_scproxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
* using the SystemConfiguration framework.
*/

// Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
// Need limited C API version 3.13 for Py_mod_gil
#include "pyconfig.h" // Py_GIL_DISABLED
#ifndef Py_GIL_DISABLED
# define Py_LIMITED_API 0x030c0000
# define Py_LIMITED_API 0x030d0000
#endif

#include <Python.h>
Expand Down

0 comments on commit da63df1

Please sign in to comment.