diff options
author | Matt Valentine-House <[email protected]> | 2021-01-14 21:56:44 +0000 |
---|---|---|
committer | Aaron Patterson <[email protected]> | 2021-01-26 08:18:44 -0800 |
commit | 8a3f816675bfeb0ffd19471a8520200b3212d424 (patch) | |
tree | 916e7fa98d4e0e62a40b6a6518e006006cc626da /gc.c | |
parent | a554e96a15ab1dfd86c6f125afc6356b8cc84a49 (diff) |
Re-enable RGENGC_DEBUG for platforms with HAVE_VA_ARGS_MACRO
after this commit turned it off globally.
888cf28a7e3a07fc0a41688777a40910654005ad
Co-authored-by: peterzhu2118 <[email protected]>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4073
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -377,6 +377,8 @@ static ruby_gc_params_t gc_params = { #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 |