diff options
author | Yves Orton <demerphq@gmail.com> | 2022-11-15 21:30:47 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2022-12-24 01:17:22 +0100 |
commit | fc4317da57abcc74fb1131ed3c52e9e5002adc06 (patch) | |
tree | b70394603693649194d665be761237e194572b15 /mro_core.c | |
parent | 5655be1bca4e440ec18e9bae756ec97748877df3 (diff) | |
download | perl-fc4317da57abcc74fb1131ed3c52e9e5002adc06.tar.gz |
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.
Diffstat (limited to 'mro_core.c')
-rw-r--r-- | mro_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
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<perlmroapi>. #include "EXTERN.h" #define PERL_IN_MRO_C +#define PERL_IN_MRO_CORE_C #include "perl.h" static const struct mro_alg dfs_alg = |