diff options
author | Jason Potkanski <electrawn@yahoo.com> | 2014-10-14 10:54:43 -0500 |
---|---|---|
committer | Jason Potkanski <electrawn@yahoo.com> | 2014-10-14 10:54:43 -0500 |
commit | 3a3a8c6972b90c661e46a4033c594be6efff85a6 (patch) | |
tree | 54e87756653247c29895984b37bd2933498f1f52 /ext/ffi_yajl/ext | |
parent | d41c232591806892ebcb78574cd81fd51b03e1d9 (diff) | |
download | ffi-yajl-3a3a8c6972b90c661e46a4033c594be6efff85a6.tar.gz |
Update extconf.rb
Add cygwin detection
Diffstat (limited to 'ext/ffi_yajl/ext')
-rw-r--r-- | ext/ffi_yajl/ext/encoder/extconf.rb | 2 |
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? |