summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2019-07-15 11:27:38 +0900
committerKoichi Sasada <ko1@atdot.net>2019-07-15 11:30:34 +0900
commitc23e5976744f1984b309f0af724fbd8ddea2c56a (patch)
tree48392ced4a8bc32e3422ce43a0a9ee39fb537a31 /internal.h
parentd02f2fc3e2b4d14793c3b25079787a8972ce49c8 (diff)
respect RUBY_DEBUG.
see RUBY_DEBUG for each debug options.
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.h b/internal.h
index 0539d49f5b..fb184e290c 100644
--- a/internal.h
+++ b/internal.h
@@ -1302,7 +1302,7 @@ VALUE rb_gvar_defined(struct rb_global_entry *);
/* array.c */
#ifndef ARRAY_DEBUG
-#define ARRAY_DEBUG 0
+#define ARRAY_DEBUG (0+RUBY_DEBUG)
#endif
#ifdef ARRAY_DEBUG