ext/libyajl2/extconf.rb in libyajl2-1.1.0 vs ext/libyajl2/extconf.rb in libyajl2-1.2.0
- old
+ new
@@ -22,10 +22,10 @@
LIBYAJL2_VENDOR_DIR = File.expand_path("../vendor/yajl", __FILE__).freeze
PREFIX = File.expand_path("../../../lib/libyajl2/vendored-libyajl2", __FILE__).freeze
def self.windows?
- !!(RUBY_PLATFORM =~ /mswin|mingw|windows/)
+ !!(RUBY_PLATFORM =~ /mswin|mingw|cygwin|windows/)
end
def self.libyajl2_vendor_dir
LIBYAJL2_VENDOR_DIR
end