summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-01-26 09:28:37 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-01-26 09:28:37 +0000
commitdfdd1393a5b8826d427524003a858b7556c66371 (patch)
treeb09633b780c9c99d18cb75a3d1fd776008cad471 /makedef.pl
parent5812d790acd59b98b5e3e7519f0367585106cb30 (diff)
downloadperl-dfdd1393a5b8826d427524003a858b7556c66371.tar.gz
tweak exports list on Windows
p4raw-id: //depot/perl@4902
Diffstat (limited to 'makedef.pl')
-rw-r--r--makedef.pl14
1 files changed, 5 insertions, 9 deletions
diff --git a/makedef.pl b/makedef.pl
index eb927198e5..9c2e96ac48 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -95,24 +95,20 @@ while (<CFG>) {
$define{$1} = 1 if /^\s*#\s*define\s+(USE_ITHREADS)\b/;
$define{$1} = 1 if /^\s*#\s*define\s+(USE_PERLIO)\b/;
$define{$1} = 1 if /^\s*#\s*define\s+(MULTIPLICITY)\b/;
+ $define{$1} = 1 if /^\s*#\s*define\s+(PERL_IMPLICIT_SYS)\b/;
$define{$1} = 1 if /^\s*#\s*define\s+(PERL_BINCOMPAT_5005)\b/;
}
close(CFG);
if ($PLATFORM eq 'win32') {
warn join(' ',keys %define)."\n";
- if ($define{PERL_OBJECT} || $define{MULTIPLICITY}) {
- print "LIBRARY Perl56\n";
- print "DESCRIPTION 'Perl interpreter'\n";
- print "EXPORTS\n";
+ print "LIBRARY Perl56\n";
+ print "DESCRIPTION 'Perl interpreter'\n";
+ print "EXPORTS\n";
+ if ($define{PERL_IMPLICIT_SYS}) {
output_symbol("perl_get_host_info");
output_symbol("perl_alloc_override");
}
- else {
- print "LIBRARY Perl56\n";
- print "DESCRIPTION 'Perl interpreter, export autogenerated'\n";
- print "EXPORTS\n";
- }
}
elsif ($PLATFORM eq 'os2') {
($v = $]) =~ s/(\d\.\d\d\d)(\d\d)$/$1_$2/;