1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/fiddle/extconf.rb: De Morgan's laws.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2010-06-15 08:16:33 +00:00
parent 77f0c30612
commit 6e10636d32
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Jun 15 17:14:58 2010 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/fiddle/extconf.rb: De Morgan's laws.
Tue Jun 15 12:09:00 2010 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/fiddle/extconf.rb: use pkg_config to find ffi.h.

View file

@ -4,7 +4,7 @@ require 'mkmf'
dir_config 'libffi'
unless pkg_config("libffi") and have_header('ffi.h')
unless pkg_config("libffi") or have_header('ffi.h')
if have_header('ffi/ffi.h')
$defs.push(format('-DUSE_HEADER_HACKS'))
else