ruby-changes:44420
From: nobu <ko1@a...>
Date: Wed, 26 Oct 2016 17:10:06 +0900 (JST)
Subject: [ruby-changes:44420] nobu:r56493 (trunk): ruby.h: use prefixed macro
nobu 2016-10-26 17:10:00 +0900 (Wed, 26 Oct 2016) New Revision: 56493 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56493 Log: ruby.h: use prefixed macro * include/ruby/ruby.h (rb_intern): use prefixed version macro RUBY_CONST_ID_CACHE. Modified files: trunk/ChangeLog trunk/include/ruby/ruby.h Index: include/ruby/ruby.h =================================================================== --- include/ruby/ruby.h (revision 56492) +++ include/ruby/ruby.h (revision 56493) @@ -1720,7 +1720,7 @@ VALUE rb_check_symbol(volatile VALUE *na https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L1720 * since gcc-2.7.2.3 at least. */ #define rb_intern(str) \ (__builtin_constant_p(str) ? \ - __extension__ (CONST_ID_CACHE((ID), (str))) : \ + __extension__ (RUBY_CONST_ID_CACHE((ID), (str))) : \ rb_intern(str)) #define rb_intern_const(str) \ (__builtin_constant_p(str) ? \ Index: ChangeLog =================================================================== --- ChangeLog (revision 56492) +++ ChangeLog (revision 56493) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Oct 26 17:09:59 2016 Nobuyoshi Nakada <nobu@r...> + + * include/ruby/ruby.h (rb_intern): use prefixed version macro + RUBY_CONST_ID_CACHE. + Wed Oct 26 11:28:25 2016 URABE Shyouhei <shyouhei@r...> * NEWS: added several entries which (if I remember correctly) are -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/