From c29ad01850a994bdc9d931b341fbb494de41fd21 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 22 Jul 2016 19:06:07 +0000 Subject: ruby.h: use prefixed name * include/ruby/ruby.h (RTEST, NIL_P): use RUBY prefixed name in macros. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/ruby.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 983ea2760c..4156c113c8 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -439,8 +439,8 @@ enum ruby_special_consts { #endif #define SYMBOL_FLAG RUBY_SYMBOL_FLAG -#define RTEST(v) !(((VALUE)(v) & ~Qnil) == 0) -#define NIL_P(v) !((VALUE)(v) != Qnil) +#define RTEST(v) !(((VALUE)(v) & ~RUBY_Qnil) == 0) +#define NIL_P(v) !((VALUE)(v) != RUBY_Qnil) #define CLASS_OF(v) rb_class_of((VALUE)(v)) -- cgit v1.2.3