Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #371 from jonforums/mingw-build-fix

mingw source builds fail due to `or` precedence
commit bd0bb072e4d975adde5db9d3f7cc3c469c3c261c 2 parents 82e9f62 + 430879a
@tmm1 tmm1 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.