Skip to content

Commit 77d1652

Browse files
committed
Fix winsound.c for Windows build
1 parent 2998def commit 77d1652

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PC/winsound.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@
3535
winsound.PlaySound(None, 0)
3636
*/
3737

38-
// Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
38+
// Need limited C API version 3.13 for Py_mod_gil
3939
#include "pyconfig.h" // Py_GIL_DISABLED
4040
#ifndef Py_GIL_DISABLED
41-
# define Py_LIMITED_API 0x030c0000
41+
# define Py_LIMITED_API 0x030d0000
4242
#endif
4343

4444
#include <Python.h>

0 commit comments

Comments
 (0)