mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Re-enable RGENGC_DEBUG for platforms with HAVE_VA_ARGS_MACRO
after this commit turned it off globally.
888cf28a7e
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
1 changed files with 2 additions and 0 deletions
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…
Reference in a new issue