diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/ruby.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index a9fd974614..38edfb3965 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -1078,8 +1078,8 @@ 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) ? \ - __extension__ (CONST_ID_CACHE(/**/, str)) : \ + (__builtin_constant_p(str) ? + __extension__ (CONST_ID_CACHE((ID), str)) : \ rb_intern(str)) #define rb_intern_const(str) \ (__builtin_constant_p(str) ? \ |