ruby-changes:65049
From: Matt <ko1@a...>
Date: Wed, 27 Jan 2021 01:18:57 +0900 (JST)
Subject: [ruby-changes:65049] 8a3f816675 (master): Re-enable RGENGC_DEBUG for platforms with HAVE_VA_ARGS_MACRO
https://git.ruby-lang.org/ruby.git/commit/?id=8a3f816675 From 8a3f816675bfeb0ffd19471a8520200b3212d424 Mon Sep 17 00:00:00 2001 From: Matt Valentine-House <matt@e...> Date: Thu, 14 Jan 2021 21:56:44 +0000 Subject: Re-enable RGENGC_DEBUG for platforms with HAVE_VA_ARGS_MACRO after this commit turned it off globally. 888cf28a7e3a07fc0a41688777a40910654005ad Co-authored-by: peterzhu2118 <peter@p...> --- gc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gc.c b/gc.c index 9bee246..e21c076 100644 --- a/gc.c +++ b/gc.c @@ -377,6 +377,8 @@ static ruby_gc_params_t gc_params = { https://github.com/ruby/ruby/blob/trunk/gc.c#L377 #endif #if RGENGC_DEBUG < 0 && !defined(_MSC_VER) # define RGENGC_DEBUG_ENABLED(level) (-(RGENGC_DEBUG) >= (level) && ruby_rgengc_debug >= (level)) +#elif HAVE_VA_ARGS_MACRO +# define RGENGC_DEBUG_ENABLED(level) ((RGENGC_DEBUG) >= (level)) #else # define RGENGC_DEBUG_ENABLED(level) 0 #endif -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/