Re-enable RGENGC_DEBUG for platforms with HAVE_VA_ARGS_MACRO
after this commit turned it off globally. 888cf28a7e3a07fc0a41688777a40910654005ad Co-authored-by: peterzhu2118 <peter@peterzhu.ca>
This commit is contained in:
parent
a554e96a15
commit
8a3f816675
Notes:
git
2021-01-27 01:19:06 +09:00
2
gc.c
2
gc.c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user