From: Nobuyoshi Nakada Date: 2009-03-02T14:50:54+09:00 Subject: [ruby-core:22618] Re: [Bug #1236] RUBY_VERSION not defined Hi, At Mon, 2 Mar 2009 08:51:07 +0900, Charlie Savage wrote in [ruby-core:22614]: > ruby/config.h is generated with this line: > > #define RUBY_LIB_VERSION STRINGIZE(RUBY_VERSION_MAJOR)"."STRINGIZE(RUBY_VERSION_MINOR)"."STRINGIZE(RUBY_VERSION_TEENY) It's only for the purpose to initialize the load path. You never use that macro. > This is an issue because libxml-ruby uses st.h, and thus needs code that looks like this: #include #ifdef HAVE_RUBY_ST_H # include #else # include #endif -- Nobu Nakada