diff options
Diffstat (limited to 'include/ruby/ruby.h')
-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 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)) |