[前][次][番号順一覧][スレッド一覧]

ruby-changes:64588

From: Koichi <ko1@a...>
Date: Fri, 25 Dec 2020 12:34:26 +0900 (JST)
Subject: [ruby-changes:64588] a628a108fe (ruby_3_0): USE_RUBY_DEBUG_LOG is not defined !devel build

https://git.ruby-lang.org/ruby.git/commit/?id=a628a108fe

From a628a108fe884d87e527d6f1a46e65ce37b6103e 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/

[前][次][番号順一覧][スレッド一覧]