Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05d12ee commit 3d7c0e5Copy full SHA for 3d7c0e5
1 file changed
Modules/_ctypes/ctypes.h
@@ -9,8 +9,12 @@
9
// For Apple's libffi, this must be determined at runtime (see gh-128156).
10
#if defined(Py_HAVE_C_COMPLEX) && defined(Py_FFI_SUPPORT_C_COMPLEX)
11
# include "../_complex.h" // complex
12
-# if USING_APPLE_OS_LIBFFI && defined(__has_builtin) && __has_builtin(__builtin_available)
13
-# define Py_FFI_COMPLEX_AVAILABLE __builtin_available(macOS 10.15, *)
+# if USING_APPLE_OS_LIBFFI && defined(__has_builtin)
+# if __has_builtin(__builtin_available)
14
+# define Py_FFI_COMPLEX_AVAILABLE __builtin_available(macOS 10.15, *)
15
+# else
16
+# define Py_FFI_COMPLEX_AVAILABLE 1
17
+# endif
18
# else
19
# define Py_FFI_COMPLEX_AVAILABLE 1
20
# endif
0 commit comments