X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=makedef.pl;h=a559061a5feadbaa8dd0f5a1d3ff79b5a7a4a843;hb=0642d82a230efbe169e4a441b6943c36ff880a90;hp=f0e359d79480c5ebda1e1076f2fdb6792d8f04b2;hpb=574e26a812b44201554c9f5dd46af115b271490b;p=p5sagit%2Fp5-mst-13.2.git diff --git a/makedef.pl b/makedef.pl index f0e359d..a559061 100644 --- a/makedef.pl +++ b/makedef.pl @@ -159,11 +159,11 @@ my $sym_ord = 0; print STDERR "Defines: (" . join(' ', sort keys %define) . ")\n"; if ($PLATFORM =~ /^win(?:32|ce)$/) { - (my $dll = ($define{PERL_DLL} || "perl59")) =~ s/\.dll$//i; + (my $dll = ($define{PERL_DLL} || "perl511")) =~ s/\.dll$//i; print "LIBRARY $dll\n"; # The DESCRIPTION module definition file statement is not supported # by VC7 onwards. - if ($CCTYPE !~ /^MSVC7/ && $CCTYPE !~ /^MSVC8/) { + if ($CCTYPE !~ /^MSVC7/ && $CCTYPE !~ /^MSVC8/ && $CCTYPE !~ /^MSVC9/) { print "DESCRIPTION 'Perl interpreter'\n"; } print "EXPORTS\n"; @@ -215,7 +215,7 @@ elsif ($PLATFORM eq 'aix') { } elsif ($PLATFORM eq 'netware') { if ($FILETYPE eq 'def') { - print "LIBRARY perl59\n"; + print "LIBRARY perl511\n"; print "DESCRIPTION 'Perl interpreter for NetWare'\n"; print "EXPORTS\n"; } @@ -667,6 +667,7 @@ else { Perl_dump_mstats Perl_get_mstats Perl_malloced_size + Perl_malloc_good_size MallocCfg_ptr MallocCfgP_ptr )]; @@ -734,7 +735,7 @@ unless ($define{'USE_ITHREADS'}) { Perl_he_dup Perl_mg_dup Perl_mro_meta_dup - Perl_re_dup + Perl_re_dup_guts Perl_sv_dup Perl_rvpv_dup Perl_hek_dup @@ -891,6 +892,19 @@ if ($define{'PERL_MAD'}) { )]; } +unless ($define{'MULTIPLICITY'}) { + skip_symbols [qw( + PL_interp_size + PL_interp_size_5_10_0 + )]; +} + +unless ($define{'PERL_GLOBAL_STRUCT'}) { + skip_symbols [qw( + PL_global_struct_size + )]; +} + unless ($define{'PERL_GLOBAL_STRUCT_PRIVATE'}) { skip_symbols [qw( PL_my_cxt_keys @@ -1539,6 +1553,8 @@ foreach my $symbol (@stat_mods) try_symbol($symbol); } +try_symbol("init_Win32CORE") if $static_ext =~ /\bWin32CORE\b/; + # Now all symbols should be defined because # next we are going to output them.