mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #24381: Avoid unused function warning when building bundled macOS libffi.
Patch by Vajrasky Kok.
This commit is contained in:
parent
ea75a513df
commit
f536af1fcd
1 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ initialize_aggregate(
|
|||
/* Perform machine independent ffi_cif preparation, then call
|
||||
machine dependent routine. */
|
||||
|
||||
#if defined(X86_DARWIN)
|
||||
#if defined(X86_DARWIN) && !defined __x86_64__
|
||||
|
||||
static inline bool
|
||||
struct_on_stack(
|
||||
|
@ -125,7 +125,7 @@ struct_on_stack(
|
|||
}
|
||||
}
|
||||
|
||||
#endif // defined(X86_DARWIN)
|
||||
#endif // defined(X86_DARWIN) && !defined __x86_64__
|
||||
|
||||
// Arguments' ffi_type->alignment must be nonzero.
|
||||
ffi_status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue