Skip to content

Commit

Permalink
Re-enable RGENGC_DEBUG for platforms with HAVE_VA_ARGS_MACRO
Browse files Browse the repository at this point in the history
after this commit turned it off globally.

888cf28

Co-authored-by: peterzhu2118 <peter@peterzhu.ca>
  • Loading branch information
2 people authored and tenderlove committed Jan 26, 2021
1 parent a554e96 commit 8a3f816
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gc.c
Expand Up @@ -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
Expand Down

0 comments on commit 8a3f816

Please sign in to comment.