Skip to content

Commit 12303e2

Browse files
committed
Fix use of inappropriate debug flag
1 parent bb62a1c commit 12303e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

namespace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@ Init_Namespace(void)
10841084
if (rb_namespace_available()) {
10851085
rb_include_module(rb_cObject, rb_mNamespaceLoader);
10861086

1087-
#if RUBY_DEBUG > 0
1087+
#if RUBY_DEBUG
10881088
rb_define_singleton_method(rb_cNamespace, "root", rb_namespace_s_root, 0);
10891089
rb_define_singleton_method(rb_cNamespace, "main", rb_namespace_s_main, 0);
10901090
rb_define_global_function("dump_classext", rb_f_dump_classext, 1);

0 commit comments

Comments
 (0)