diff options
author | Koichi Sasada <ko1@atdot.net> | 2020-12-25 11:10:29 +0900 |
---|---|---|
committer | NARUSE, Yui <naruse@airemix.jp> | 2020-12-25 12:33:01 +0900 |
commit | 0a31310b99e5c91188af550c0492ac8ecda17cb2 (patch) | |
tree | 0037a739d8f1cf327b4672aacf74d0cf14ef9e86 | |
parent | 5c6f5b16c65506d0aadacb69b2a110f7a75cbf8b (diff) |
define RGENGC_DEBUG_ENABLED() as 0
on RUBY_DEVEL==0 and !HAVE_VA_ARGS_MACRO.
gc_report() is always enabled on such configuration
(maybe it is a bug) so disable RGENGC_DEBUG_ENABLED().
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -378,7 +378,7 @@ static ruby_gc_params_t gc_params = { #if RGENGC_DEBUG < 0 && !defined(_MSC_VER) # define RGENGC_DEBUG_ENABLED(level) (-(RGENGC_DEBUG) >= (level) && ruby_rgengc_debug >= (level)) #else -# define RGENGC_DEBUG_ENABLED(level) ((RGENGC_DEBUG) >= (level)) +# define RGENGC_DEBUG_ENABLED(level) 0 #endif int ruby_rgengc_debug; |