summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
Diffstat (limited to 'Include')
-rw-r--r--Include/pylifecycle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pylifecycle.h b/Include/pylifecycle.h
index 5419bc9..1df114a 100644
--- a/Include/pylifecycle.h
+++ b/Include/pylifecycle.h
@@ -12,7 +12,9 @@ extern "C" {
PyAPI_FUNC(void) Py_Initialize(void);
PyAPI_FUNC(void) Py_InitializeEx(int);
PyAPI_FUNC(void) Py_Finalize(void);
+#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03060000
PyAPI_FUNC(int) Py_FinalizeEx(void);
+#endif
PyAPI_FUNC(int) Py_IsInitialized(void);
/* Subinterpreter support */