diff options
-rw-r--r-- | globvar.sym | 1 | ||||
-rw-r--r-- | makedef.pl | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/globvar.sym b/globvar.sym index 06fe8afb59..1cbdc34f32 100644 --- a/globvar.sym +++ b/globvar.sym @@ -47,6 +47,7 @@ regkind revision runops_dbg runops_std +sh_path sig_name sig_num simple diff --git a/makedef.pl b/makedef.pl index a4b5ced556..318202f8ac 100644 --- a/makedef.pl +++ b/makedef.pl @@ -530,6 +530,9 @@ if ($define{HAS_SIGNBIT}) { if ($define{'PERL_GLOBAL_STRUCT'}) { readvar($perlvars_h, \%skip); + # This seems like the least ugly way to cope with the fact that PL_sh_path + # is mentioned in perlvar.h and globvar.sym, and always exported. + delete $skip{PL_sh_path}; ++$export{Perl_GetVars}; try_symbols(qw(PL_Vars PL_VarsPtr)) unless $ARGS{CCTYPE} eq 'GCC'; } else { |