diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-10 06:21:21 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-10 06:21:21 +0000 |
commit | 1acb48c9d1d40d4a21897ac28a864cf7255b8a1c (patch) | |
tree | 6e54ef4766ddcee854b7cf478ff04bfde1038853 /makedef.pl | |
parent | 1a2f920b4a5e7b2cc220cd38055de06c8129d2c5 (diff) | |
download | perl-1acb48c9d1d40d4a21897ac28a864cf7255b8a1c.tar.gz |
make global symbol exports AIX-specific
p4raw-id: //depot/perl@5059
Diffstat (limited to 'makedef.pl')
-rw-r--r-- | makedef.pl | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/makedef.pl b/makedef.pl index eaeb269a8d..d0ac96d444 100644 --- a/makedef.pl +++ b/makedef.pl @@ -499,14 +499,13 @@ for my $syms (@syms) { # variables if ($define{'PERL_OBJECT'} || $define{'MULTIPLICITY'}) { - for my $f ($perlvars_h) { + for my $f ($perlvars_h, $intrpvar_h, $thrdvar_h) { my $glob = readvar($f, sub { "Perl_" . $_[1] . $_[2] . "_ptr" }); emit_symbols $glob; - $glob = readvar($f); - emit_symbols $glob; } - for my $f ($intrpvar_h, $thrdvar_h) { - my $glob = readvar($f, sub { "Perl_" . $_[1] . $_[2] . "_ptr" }); + # XXX AIX seems to want the perlvars.h symbols, for some reason + if ($PLATFORM eq 'aix') { + my $glob = readvar($perlvars_h); emit_symbols $glob; } } |