From e1c9e6244b38f43496400863f610e53c36709589 Mon Sep 17 00:00:00 2001 From: "Daisuke Fujimura (fd0)" Date: Sun, 2 Jun 2024 21:22:39 +0900 Subject: [PATCH] Use real filename instead of `__FILE__` --- debug_counter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug_counter.h b/debug_counter.h index a8b95edded..481a0727e6 100644 --- a/debug_counter.h +++ b/debug_counter.h @@ -356,7 +356,7 @@ RB_DEBUG_COUNTER(load_path_is_not_realpath) enum rb_debug_counter_type { #define RB_DEBUG_COUNTER(name) RB_DEBUG_COUNTER_##name, -#include __FILE__ +#include "debug_counter.h" RB_DEBUG_COUNTER_MAX #undef RB_DEBUG_COUNTER };