From: "ngoto (Naohisa Goto)" Date: 2012-12-01T00:44:30+09:00 Subject: [ruby-core:50398] [ruby-trunk - Bug #7483][Open] Fiddle::Function::STDCALL is never defined even on WIN32 Issue #7483 has been reported by ngoto (Naohisa Goto). ---------------------------------------- Bug #7483: Fiddle::Function::STDCALL is never defined even on WIN32 https://bugs.ruby-lang.org/issues/7483 Author: ngoto (Naohisa Goto) Status: Open Priority: Normal Assignee: tenderlovemaking (Aaron Patterson) Category: Target version: ruby -v: - In ext/fiddle/function.c, Fiddle::Function::STDCALL is defined only when "#ifdef FFI_STDCALL" is true. However, in ffi.h, FFI_STDCALL is declared as an enumerated type, not a macro, and it is always false even on x86 WIN32. According to the Changelog in libffi-3.0.11.tar.gz, FFI_STDCALL was first added in 2002-11-10 as an enumeration. I create a patch to check existance of FFI_STDCALL in extconf.rb. -- http://bugs.ruby-lang.org/