summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2020-04-11 19:28:26 +0200
committerStefan Behnel <stefan_ml@behnel.de>2020-04-11 19:28:26 +0200
commit5bd451d35ca7685c2f9137809e2f20601469ddf7 (patch)
tree228f20b908d329922230551baf1e19178bbbc2de
parentc964bfd3c64d3e0816dd6ac1d61f974e7f74aed5 (diff)
downloadcython-5bd451d35ca7685c2f9137809e2f20601469ddf7.tar.gz
Require Py3.3 as the minimum stable ABI when using the limited C-API.
-rw-r--r--Cython/Utility/ModuleSetupCode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Utility/ModuleSetupCode.c b/Cython/Utility/ModuleSetupCode.c
index c46970b5b..3ab02e8c6 100644
--- a/Cython/Utility/ModuleSetupCode.c
+++ b/Cython/Utility/ModuleSetupCode.c
@@ -2,7 +2,7 @@
#if defined(CYTHON_LIMITED_API) && 0 /* disabled: enabling Py_LIMITED_API needs more work */
#ifndef Py_LIMITED_API
- #if CYTHON_LIMITED_API+0 > 0
+ #if CYTHON_LIMITED_API+0 > 0x03030000
#define Py_LIMITED_API CYTHON_LIMITED_API
#else
#define Py_LIMITED_API 0x03030000