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 91efa39db9..7812ee202a 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -567,12 +567,12 @@ void rb_secure(int); int rb_safe_level(void); void rb_set_safe_level(int); #if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) -int ruby$safe_level$4(void) __attribute__((error("$SAFE=4 is obsolete"))); +int ruby_safe_level_4(void) __attribute__((error("$SAFE=4 is obsolete"))); #define RUBY_SAFE_LEVEL_INVALID_P(level) \ __extension__(__builtin_constant_p(level) && \ ((level) < 0 || RUBY_SAFE_LEVEL_MAX < (level))) #define RUBY_SAFE_LEVEL_CHECK(level) \ - (RUBY_SAFE_LEVEL_INVALID_P(level) ? ruby$safe_level$4() : (level)) + (RUBY_SAFE_LEVEL_INVALID_P(level) ? ruby_safe_level_4() : (level)) #define rb_secure(level) rb_secure(RUBY_SAFE_LEVEL_CHECK(level)) #define rb_set_safe_level(level) rb_set_safe_level(RUBY_SAFE_LEVEL_CHECK(level)) #endif |