FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Issue #24381: Avoid unused function warning when building bundled mac… · python-emscripten/cpython@f536af1 · GitHub

Repository navigation

Commit f536af1

Browse files
committed
Issue python#24381: Avoid unused function warning when building bundled macOS libffi.
Patch by Vajrasky Kok.
1 parent ea75a51 commit f536af1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • Modules/_ctypes/libffi_osx

‎Modules/_ctypes/libffi_osx/ffi.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ initialize_aggregate(
102102
/* Perform machine independent ffi_cif preparation, then call
103103
machine dependent routine. */
104104

105-
#if defined(X86_DARWIN)
105+
#if defined(X86_DARWIN) && !defined __x86_64__
106106

107107
static inline bool
108108
struct_on_stack(
@@ -125,7 +125,7 @@ struct_on_stack(
125125
}
126126
}
127127

128-
#endif // defined(X86_DARWIN)
128+
#endif // defined(X86_DARWIN) && !defined __x86_64__
129129

130130
// Arguments' ffi_type->alignment must be nonzero.
131131
ffi_status

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL