summaryrefslogtreecommitdiff
path: root/Include/pythread.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/pythread.h')
-rw-r--r--Include/pythread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pythread.h b/Include/pythread.h
index dd681be93b..88c4873a55 100644
--- a/Include/pythread.h
+++ b/Include/pythread.h
@@ -69,7 +69,9 @@ PyAPI_FUNC(void) PyThread_release_lock(PyThread_type_lock);
PyAPI_FUNC(size_t) PyThread_get_stacksize(void);
PyAPI_FUNC(int) PyThread_set_stacksize(size_t);
+#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000
PyAPI_FUNC(PyObject*) PyThread_GetInfo(void);
+#endif
/* Thread Local Storage (TLS) API */
PyAPI_FUNC(int) PyThread_create_key(void);