Skip to content

Commit

Permalink
USE_RUBY_DEBUG_LOG is not defined !devel build
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1 committed Dec 25, 2020
1 parent 93a1ef6 commit 45f3d48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,9 @@ set_debug_option(const char *str, int len, void *arg)
}
}

#ifdef USE_RUBY_DEBUG_LOG
STATIC_ASSERT(USE_RUBY_DEBUG_LOG, USE_RUBY_DEBUG_LOG ? RUBY_DEVEL : 1);
#endif

#if RUBY_DEVEL
static void setup_debug_log(void);
Expand Down

0 comments on commit 45f3d48

Please sign in to comment.