|
From: | Andrew Potter |
Subject: | [Weechat-dev] [patch #8209] Fix compilation for Ruby >= 2.0 |
Date: | Sun, 13 Oct 2013 23:08:27 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.66 Safari/537.36 |
Follow-up Comment #2, patch #8209 (project weechat): I'm attaching an alternative patch that just changes the #if tests from RUBY_VERSION to use RUBY_API_VERSION_MAJOR and RUBY_API_VERSION_MINOR. From some Google results I think these symbols are defined in 1.9, but I've only tested against Ruby 2. It would probably be nicer to do this in CMake and define a single variable. (file #29370) _______________________________________________________ Additional Item Attachment: File name: 0001-ruby-Fix-compilation-with-ruby-2.patch Size:1 KB _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?8209> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |