From: Charlie Savage Date: 2009-03-02T10:04:21+09:00 Subject: [ruby-core:22615] [Bug #1236] RUBY_VERSION not defined Issue #1236 has been updated by Charlie Savage. Actually, the code would be more like this: #if RUBY_VERSION_MAJOR == 1 && RUBY_VERSION_MINOR < 9 #include #else #include #endif However, to do that with Ruby 1.8.6 appears to require including version.h, which doesn't appear to exist in Ruby 1.9.1. So how should this be done? ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1236 ---------------------------------------- http://redmine.ruby-lang.org