diff options
author | Koichi Sasada <[email protected]> | 2019-07-15 11:27:38 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2019-07-15 11:30:34 +0900 |
commit | c23e5976744f1984b309f0af724fbd8ddea2c56a (patch) | |
tree | 48392ced4a8bc32e3422ce43a0a9ee39fb537a31 /internal.h | |
parent | d02f2fc3e2b4d14793c3b25079787a8972ce49c8 (diff) |
respect RUBY_DEBUG.
see RUBY_DEBUG for each debug options.
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 2 |
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 |