summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorJason Potkanski <electrawn@yahoo.com>2014-10-14 10:54:43 -0500
committerJason Potkanski <electrawn@yahoo.com>2014-10-14 10:54:43 -0500
commit3a3a8c6972b90c661e46a4033c594be6efff85a6 (patch)
tree54e87756653247c29895984b37bd2933498f1f52 /ext
parentd41c232591806892ebcb78574cd81fd51b03e1d9 (diff)
downloadffi-yajl-3a3a8c6972b90c661e46a4033c594be6efff85a6.tar.gz
Update extconf.rb
Add cygwin detection
Diffstat (limited to 'ext')
-rw-r--r--ext/ffi_yajl/ext/encoder/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ffi_yajl/ext/encoder/extconf.rb b/ext/ffi_yajl/ext/encoder/extconf.rb
index bf9c839..f7f0116 100644
--- a/ext/ffi_yajl/ext/encoder/extconf.rb
+++ b/ext/ffi_yajl/ext/encoder/extconf.rb
@@ -23,7 +23,7 @@ if RbConfig::MAKEFILE_CONFIG['CC'] =~ /gcc|clang/
end
def windows?
- !!(RUBY_PLATFORM =~ /mswin|mingw|windows/)
+ !!(RUBY_PLATFORM =~ /mswin|mingw|cygwin|windows/)
end
if windows?