Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix mingw build fail due to `or` precedence

  • Loading branch information...
commit 430879abe847b094728c518093f847a8967f42e8 1 parent 82e9f62
@jonforums jonforums authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  ext/extconf.rb
  2. +1 −1  ext/fastfilereader/extconf.rb
View
2  ext/extconf.rb
@@ -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
View
2  ext/fastfilereader/extconf.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.