We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6d1e06 commit f471f4bCopy full SHA for f471f4b
Modules/_testlimitedcapi/version.c
@@ -1,6 +1,9 @@
1
/* Test version macros in the limited API */
2
3
-#define Py_LIMITED_API 0x030E0000 // Added in 3.14
+#include "pyconfig.h" // Py_GIL_DISABLED
4
+#ifndef Py_GIL_DISABLED
5
+# define Py_LIMITED_API 0x030e0000 // Added in 3.14
6
+#endif
7
8
#include "parts.h"
9
#include "clinic/version.c.h"
0 commit comments