From fc4317da57abcc74fb1131ed3c52e9e5002adc06 Mon Sep 17 00:00:00 2001 From: Yves Orton Date: Tue, 15 Nov 2022 21:30:47 +0100 Subject: mro_core.c - define PERL_IN_MRO_CORE_C as well Each core file defines a symbol which represents that its in that file. Sometime where we split or move code around this ends up with a file claiming to be another file. This is fine, but it should also define its own file specific define. Currently this isn't used. But if we ever want to restrict functions in this file to just this file (eg a static function) we will need this define. --- mro_core.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mro_core.c') diff --git a/mro_core.c b/mro_core.c index 3bd05af901..8284fb10a8 100644 --- a/mro_core.c +++ b/mro_core.c @@ -28,6 +28,7 @@ Also see L. #include "EXTERN.h" #define PERL_IN_MRO_C +#define PERL_IN_MRO_CORE_C #include "perl.h" static const struct mro_alg dfs_alg = -- cgit v1.2.1