Skip to content

Commit

Permalink
Merge pull request #1020 from larskanis/update-libffi
Browse files Browse the repository at this point in the history
Update libffi
  • Loading branch information
larskanis committed Apr 16, 2023
2 parents 0398a08 + 55e2b59 commit 54651da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ext/ffi_c/MethodHandle.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@
static bool prep_trampoline(void* ctx, void* code, Closure* closure, char* errmsg, size_t errmsgsize);
static long trampoline_size(void);

#if defined(__x86_64__) && (defined(__linux__) || defined(__APPLE__))
#if defined(__x86_64__) && \
(defined(__linux__) || defined(__APPLE__)) && \
!USE_FFI_ALLOC
# define CUSTOM_TRAMPOLINE 1
#endif

Expand Down
2 changes: 1 addition & 1 deletion ext/ffi_c/libffi
Submodule libffi updated 232 files

0 comments on commit 54651da

Please sign in to comment.