about summary refs log tree commit homepage
path: root/ext/clogger_ext/extconf.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-11-06 02:57:07 +0000
committerEric Wong <normalperson@yhbt.net>2012-11-06 02:58:02 +0000
commit31da4fee4f05cf3ba0359ae11c622440c01ff90b (patch)
tree027413669e84fac6cbe83311c0991bf75f55b899 /ext/clogger_ext/extconf.rb
parent9aebe2b94197aa2ad653ea971cb8f06e14c065fa (diff)
downloadclogger-31da4fee4f05cf3ba0359ae11c622440c01ff90b.tar.gz
Ruby 2.0.0preview1 is out, and we happen to be compatible
(with some harmless linker/build warnings)
Diffstat (limited to 'ext/clogger_ext/extconf.rb')
-rw-r--r--ext/clogger_ext/extconf.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/clogger_ext/extconf.rb b/ext/clogger_ext/extconf.rb
index 1a28319..99f7deb 100644
--- a/ext/clogger_ext/extconf.rb
+++ b/ext/clogger_ext/extconf.rb
@@ -2,11 +2,6 @@ begin
   require 'mkmf'
   $CPPFLAGS += " -D_BSD_SOURCE=1 "
 
-  # XXX let me know if this works for you...
-  if ! defined?(RUBY_VERSION) || RUBY_VERSION !~ /\A1\.[89]\./
-    raise "Invalid RUBY_VERSION for C extension"
-  end
-
   have_header('ruby.h') or raise "ruby.h header not found!"
 
   if have_header('fcntl.h')