aboutsummaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-08-30 11:21:20 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-08-30 11:23:16 +0900
commitd6acaa4d423200a1dcd8ea62fc65fc60944f2e84 (patch)
treed01a20c50bbd0ead09b419140fe3437b29178371 /debug.c
parentddca3482ef53911ce732c91e715d0439d3b47514 (diff)
downloadruby-d6acaa4d423200a1dcd8ea62fc65fc60944f2e84.tar.gz
Undefine `ruby_debug_log` macro before the function definition
Fix up 27173e3735ff.
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c1
1 files changed, 1 insertions, 0 deletions
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)
return path;
}
+#undef ruby_debug_log
void
ruby_debug_log(const char *file, int line, const char *func_name, const char *fmt, ...)
{