Skip to content

Commit

Permalink
Fix winsound.c for Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
swtaarrs committed May 2, 2024
1 parent 2998def commit 77d1652
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PC/winsound.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
winsound.PlaySound(None, 0)
*/

// 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 77d1652

Please sign in to comment.