diff options
author | Sutou Kouhei <kou@clear-code.com> | 2020-06-27 07:25:47 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-27 23:54:08 +0900 |
commit | ae18220f9904c70304bd1672eecadbb3618fc7e5 (patch) | |
tree | 26356cc33a9939c1059047cf411a45f3ec26f85d /ext/fiddle/extconf.rb | |
parent | 9f740acaf960c0d8fa4b72050f057bc157db31ce (diff) |
[ruby/fiddle] Add support for variadic arguments
GitHub: fix GH-39
Reported by kojix2. Thanks!!!
https://github.com/ruby/fiddle/commit/6c4cb904dc
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3265
Diffstat (limited to 'ext/fiddle/extconf.rb')
-rw-r--r-- | ext/fiddle/extconf.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/fiddle/extconf.rb b/ext/fiddle/extconf.rb index f8a94d41e7..1ec9c6b15a 100644 --- a/ext/fiddle/extconf.rb +++ b/ext/fiddle/extconf.rb @@ -127,6 +127,8 @@ else have_func('ffi_closure_alloc', ffi_header) end +have_func('ffi_prep_cif_var', ffi_header) + have_header 'sys/mman.h' if have_header "dlfcn.h" |