Commit 75f9bef1 authored by Ned Deily's avatar Ned Deily

Issue #24381: Avoid unused function warning when building bundled macOS libffi.

Patch by Vajrasky Kok.
parent 1661b48c
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment