Actions
Bug #1236
closedRUBY_VERSION not defined
Description
=begin
Building from trunk with MSVC 2008.
ruby/config.h is generated with this line:
#define RUBY_LIB_VERSION STRINGIZE(RUBY_VERSION_MAJOR)"."STRINGIZE(RUBY_VERSION_MINOR)"."STRINGIZE(RUBY_VERSION_TEENY)
But RUBY_VERSION_MAJOR, RUBY_VERSION_MINOR, RUBY_VERSION_TEENY are not defined in this file or in any file that is installed. They are defined in trunk/version.h but that is not installed.
Nor is RUBY_VERSION defined.
This is an issue because libxml-ruby uses st.h, and thus needs code that looks like this:
#if RUBY_VERSION < "1.9.0"
#include <st.h>
#else
#include <ruby/st.h>
#endif
Right now that doesn't work because RUBY_VERSION is not defined.
=end
Actions
Like0
Like0Like0Like0