Skip to content

Define FFI_GO_CLOSURES

Ben Gamari requested to merge wip/T23568 into master

The libffi shipped with Apple's XCode toolchain does not contain a definition of the FFI_GO_CLOSURES macro, despite containing references to said macro. Work around this by defining the macro, following the model of a similar workaround in OpenJDK [1].

Fixes #23568 (closed).

[1] https://github.com/openjdk/jdk17u-dev/pull/741/files

Edited by Ben Gamari

Merge request reports