summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2022-07-26 21:43:15 +0000
committerGitHub <noreply@github.com>2022-07-26 23:43:15 +0200
commit3de4be40a1642ffeec18d783cde9d285622b24ce (patch)
tree20e61560f5be8c950fa0ff46e3e1bfe722d4f1c6 /tests
parentf1748bb86bf7edb731728ac366e129c1be9bcb61 (diff)
downloadcython-3de4be40a1642ffeec18d783cde9d285622b24ce.tar.gz
[0.29] Add configuration for the "nogil" CPython fork (GH-4912) (GH-4914)
Diffstat (limited to 'tests')
-rw-r--r--tests/compile/buildenv.pyx2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/compile/buildenv.pyx b/tests/compile/buildenv.pyx
index ec2445c59..f4c48ceca 100644
--- a/tests/compile/buildenv.pyx
+++ b/tests/compile/buildenv.pyx
@@ -36,6 +36,7 @@ cdef extern from *:
cdef int CYTHON_COMPILING_IN_CPYTHON
cdef int CYTHON_COMPILING_IN_PYPY
cdef int CYTHON_COMPILING_IN_PYSTON
+ cdef int CYTHON_COMPILING_IN_NOGIL
cdef int CYTHON_USE_PYLONG_INTERNALS
cdef int CYTHON_USE_PYLIST_INTERNALS
cdef int CYTHON_USE_UNICODE_INTERNALS
@@ -78,6 +79,7 @@ PY_VERSION_HEX 0x{PY_VERSION_HEX:X}
CYTHON_COMPILING_IN_CPYTHON {CYTHON_COMPILING_IN_CPYTHON}
CYTHON_COMPILING_IN_PYPY {CYTHON_COMPILING_IN_PYPY}
CYTHON_COMPILING_IN_PYSTON {CYTHON_COMPILING_IN_PYSTON}
+CYTHON_COMPILING_IN_NOGIL {CYTHON_COMPILING_IN_NOGIL}
CYTHON_USE_PYLONG_INTERNALS {CYTHON_USE_PYLONG_INTERNALS}
CYTHON_USE_PYLIST_INTERNALS {CYTHON_USE_PYLIST_INTERNALS}