ruby-changes:73330
From: Nobuyoshi <ko1@a...>
Date: Tue, 30 Aug 2022 11:23:36 +0900 (JST)
Subject: [ruby-changes:73330] d6acaa4d42 (master): Undefine `ruby_debug_log` macro before the function definition
https://git.ruby-lang.org/ruby.git/commit/?id=d6acaa4d42 From d6acaa4d423200a1dcd8ea62fc65fc60944f2e84 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 30 Aug 2022 11:21:20 +0900 Subject: Undefine `ruby_debug_log` macro before the function definition Fix up 27173e3735ff. --- debug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/debug.c b/debug.c index 3af7f26275..3dd0f71906 100644 --- a/debug.c +++ b/debug.c @@ -499,6 +499,7 @@ pretty_filename(const char *path) https://github.com/ruby/ruby/blob/trunk/debug.c#L499 return path; } +#undef ruby_debug_log void ruby_debug_log(const char *file, int line, const char *func_name, const char *fmt, ...) { -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/