Subject: | Build failure since no RUBY_VERSION_MAJOR |
With ruby-2.2.3 (Fedora 22) building fails:
rb2pl.c:7:24: error: operator '==' has no left operand
#if RUBY_VERSION_MAJOR == 1 && RUBY_VERSION_MINOR == 9
There is no RUBY_VERSION_MAJOR or RUBY_VERSION_MINOR defined in ruby/version.h. Perhaps these have been dropped from more recent Ruby releases?