ruby-changes:64581
From: Koichi <ko1@a...>
Date: Fri, 25 Dec 2020 09:52:58 +0900 (JST)
Subject: [ruby-changes:64581] 45f3d48106 (master): USE_RUBY_DEBUG_LOG is not defined !devel build
https://git.ruby-lang.org/ruby.git/commit/?id=45f3d48106 From 45f3d481064c64e3fa1a9c75d215d12d5c7d729e Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Fri, 25 Dec 2020 09:51:45 +0900 Subject: USE_RUBY_DEBUG_LOG is not defined !devel build diff --git a/debug.c b/debug.c index 5548a00..75d4cc6 100644 --- a/debug.c +++ b/debug.c @@ -245,7 +245,9 @@ set_debug_option(const char *str, int len, void *arg) https://github.com/ruby/ruby/blob/trunk/debug.c#L245 } } +#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); -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/