Permalink
Browse files

Fixed extconf.rb for Ruby 2.0

  • Loading branch information...
1 parent fdfb209 commit 46939f3521eed0f12157c3a20a1a077cf51d17d1 @koraktor koraktor committed Feb 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/bzip2/extconf.rb
View
@@ -11,7 +11,7 @@
$static = nil
end
- if RUBY_VERSION =~ /1.9/
+ if RUBY_VERSION.to_f >= 1.9
$CFLAGS << ' -DRUBY_19_COMPATIBILITY'
end

0 comments on commit 46939f3

Please sign in to comment.