File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 8989 !defined(PERL_WANT_VARARGS) */
9090# endif /* !defined(PERL_NOCOMPAT) */
9191#endif /* !defined(PERL_CORE) */
92- #if !defined(PERL_NO_SHORT_NAMES )
92+ #if defined( PERL_CORE ) || !defined(PERL_NO_SHORT_NAMES )
9393
9494/* Hide global symbols */
9595
24862486# else
24872487# define get_context Perl_get_context
24882488# endif
2489- #endif /* !defined(PERL_NO_SHORT_NAMES) */
2489+ #endif /* defined(PERL_CORE) || !defined(PERL_NO_SHORT_NAMES) */
24902490
24912491/* ex: set ro ft=c: */
Original file line number Diff line number Diff line change @@ -905,7 +905,7 @@ sub generate_embed_h {
905905 * BEWARE that a bunch of macros don't have long names, so either must be
906906 * added or don't use them if you define this symbol */
907907
908- #ifndef PERL_NO_SHORT_NAMES
908+ #if ! defined( PERL_NO_SHORT_NAMES) || defined(PERL_CORE)
909909
910910 /* Hide global symbols */
911911
@@ -917,7 +917,7 @@ sub generate_embed_h {
917917
918918 print $em <<~'END' ;
919919
920- #endif /* #ifndef PERL_NO_SHORT_NAMES */
920+ #endif /* if !defined( PERL_NO_SHORT_NAMES) || defined(PERL_CORE) */
921921
922922 #if !defined(PERL_CORE)
923923 /* Compatibility stubs. Compile extensions with -DPERL_NOCOMPAT to
You can’t perform that action at this time.
0 commit comments