summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-08 20:50:22 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-08 20:50:22 +0000
commit15a70cf46a6426525f7306ad4be4db98656d25ea (patch)
treefce7fcdf6c993cbff271712cb7a2b9166cf824f6
parent93121d99c9f6e14dbc45987e3fc6b1107daba4a5 (diff)
* include/ruby/ruby.h (rb_intern): fix compile error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--include/ruby/ruby.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d745261ef2..8fbb24e763 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun May 9 05:44:59 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
+
+ * include/ruby/ruby.h (rb_intern): fix compile error.
+
Sun May 9 02:37:33 2010 URABE Shyouhei <shyouhei@ruby-lang.org>
* io.c (nogvl_copy_stream_sendfile): mixed decls not allowed.
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index 38edfb3965..981f4f6e73 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -1078,7 +1078,7 @@ VALUE rb_id2str(ID);
/* __builtin_constant_p and statement expression is available
* since gcc-2.7.2.3 at least. */
#define rb_intern(str) \
- (__builtin_constant_p(str) ?
+ (__builtin_constant_p(str) ? \
__extension__ (CONST_ID_CACHE((ID), str)) : \
rb_intern(str))
#define rb_intern_const(str) \