summaryrefslogtreecommitdiff
path: root/ext/fiddle
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-15 08:16:33 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-15 08:16:33 +0000
commit6e10636d32a7b90f0636cfb9cda42ca68350a6ba (patch)
tree5a7fc18bdf17bc4051147d08888df72559ebe309 /ext/fiddle
parent77f0c30612e4b3c924018c272dcfe33f0a5bcc0a (diff)
* 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
Diffstat (limited to 'ext/fiddle')
-rw-r--r--ext/fiddle/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fiddle/extconf.rb b/ext/fiddle/extconf.rb
index e2e1ea6..c80a1f9 100644
--- a/ext/fiddle/extconf.rb
+++ b/ext/fiddle/extconf.rb
@@ -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