Permalink
Browse files

Fix mingw build fail due to `or` precedence

  • Loading branch information...
1 parent 82e9f62 commit 430879abe847b094728c518093f847a8967f42e8 @jonforums jonforums committed Sep 26, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 ext/extconf.rb
  2. +1 −1 ext/fastfilereader/extconf.rb
View
@@ -77,7 +77,7 @@ def manual_ssl_config
# Minor platform details between *nix and Windows:
if RUBY_PLATFORM =~ /(mswin|mingw|bccwin)/
- GNU_CHAIN = ENV['CROSS_COMPILING'] or $1 == 'mingw'
+ GNU_CHAIN = ENV['CROSS_COMPILING'] || $1 == 'mingw'
OS_WIN32 = true
add_define "OS_WIN32"
else
@@ -17,7 +17,7 @@ def add_define(name)
# Minor platform details between *nix and Windows:
if RUBY_PLATFORM =~ /(mswin|mingw|bccwin)/
- GNU_CHAIN = ENV['CROSS_COMPILING'] or $1 == 'mingw'
+ GNU_CHAIN = ENV['CROSS_COMPILING'] || $1 == 'mingw'
OS_WIN32 = true
add_define "OS_WIN32"
else

0 comments on commit 430879a

Please sign in to comment.