ext/extconf.rb in tuple-0.1.1 vs ext/extconf.rb in tuple-0.1.2

- old
+ new

@@ -1,10 +1,20 @@ require 'mkmf' + +case RUBY_VERSION +when /\A1\.8/ + $CFLAGS += ' -DRUBY_1_8_x' +when /\A1\.9/ + $CFLAGS += ' -DRUBY_1_9_x' +else + raise "unsupported Ruby version: #{RUBY_VERSION}" +end + create_makefile('tuple')