mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 13:34:17 +02:00
[ruby/fiddle] Suppress -Wundef warnings
(https://github.com/ruby/fiddle/pull/157)
The GCC warning puts undefined macro names in double quotes while clang
puts them in single quotes.
7dcb40bccb
This commit is contained in:
parent
346085ea94
commit
a51007fc35
2 changed files with 1 additions and 5 deletions
|
@ -40,6 +40,7 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#define FFI_GO_CLOSURES 0 /* fiddle does not use go closures */
|
||||
#ifdef USE_HEADER_HACKS
|
||||
#include <ffi/ffi.h>
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue