ext/extconf.rb in cassandra-0.18.0 vs ext/extconf.rb in cassandra-0.19.0
- old
+ new
@@ -1,5 +1,5 @@
-if defined?(RUBY_ENGINE) && RUBY_ENGINE =~ /jruby/
+if (defined?(RUBY_ENGINE) && RUBY_ENGINE =~ /jruby/) or ENV['OS'] == "Windows_NT"
File.open('Makefile', 'w'){|f| f.puts "all:\n\ninstall:\n" }
else
require 'mkmf'
$CFLAGS = "-g -O2 -Wall -Werror"