1diff -r bac92fcfe4d7 c/_cffi_backend.c
2--- a/c/_cffi_backend.c Mon Jul 18 15:58:34 2022 +0200
3+++ b/c/_cffi_backend.c Sat Aug 20 12:38:31 2022 -0700
4@@ -96,7 +96,7 @@
5 # define CFFI_CHECK_FFI_PREP_CIF_VAR 0
6 # define CFFI_CHECK_FFI_PREP_CIF_VAR_MAYBE 0
7
8-#elif defined(__APPLE__) && defined(FFI_AVAILABLE_APPLE)
9+#elif defined(__APPLE__)
10
11 # define CFFI_CHECK_FFI_CLOSURE_ALLOC __builtin_available(macos 10.15, ios 13, watchos 6, tvos 13, *)
12 # define CFFI_CHECK_FFI_CLOSURE_ALLOC_MAYBE 1
13@@ -6413,7 +6413,7 @@
14 else
15 #endif
16 {
17-#if defined(__APPLE__) && defined(FFI_AVAILABLE_APPLE) && !FFI_LEGACY_CLOSURE_API
18+#if defined(__APPLE__) && !FFI_LEGACY_CLOSURE_API
19 PyErr_Format(PyExc_SystemError, "ffi_prep_closure_loc() is missing");
20 goto error;
21 #else