diff options
author | Mikhail Efimov <efimov.mikhail@gmail.com> | 2024-10-15 16:17:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-15 16:17:10 (GMT) |
commit | aac89b54c5ee03c4d64fbdfbb6ea3001e26aa83a (patch) | |
tree | aa230ae67d67afd54720d2e187a8c77e0f21c30e /pyconfig.h.in | |
parent | 54c6fcbefd33a8d8bf8c004cf1aad3be3d37b933 (diff) | |
download | cpython-aac89b54c5ee03c4d64fbdfbb6ea3001e26aa83a.zip cpython-aac89b54c5ee03c4d64fbdfbb6ea3001e26aa83a.tar.gz cpython-aac89b54c5ee03c4d64fbdfbb6ea3001e26aa83a.tar.bz2 |
gh-125206: Bug in ctypes with old libffi is fixed (#125322)
Workaround for old libffi versions is added.
Module ctypes now supports C11 double complex only with libffi >= 3.3.0.
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r-- | pyconfig.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index 1947d8e..fb9ab1e 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -1685,6 +1685,9 @@ /* Defined if Python is built as a shared library. */ #undef Py_ENABLE_SHARED +/* Defined if _Complex C type can be used with libffi. */ +#undef Py_FFI_SUPPORT_C_COMPLEX + /* Define if you want to disable the GIL */ #undef Py_GIL_DISABLED |