In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/3ecadf9633330795163fd87481c668fa7b6bcc31?hp=81ab4c4438c47e4ce03412afce1305a5499a46bd>

- Log -----------------------------------------------------------------
commit 3ecadf9633330795163fd87481c668fa7b6bcc31
Author: Steve Hay <[email protected]>
Date:   Thu May 7 09:26:05 2009 +0100

    Fix ExtUtils::Miniperl on Win32
    
    Default configuration builds on Win32 require perlmain.c to #include
    perlapi.h (e.g. via XSUB.h) to avoid linker errors over PL_do_undump
    and PL_use_safe_putenv.
    
    From: Ben Morrow <[email protected]>
    Date: Wed, 6 May 2009 22:38:01 +0100
    Message-ID: <[email protected]>
-----------------------------------------------------------------------

Summary of changes:
 minimod.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/minimod.pl b/minimod.pl
index bd945c2..a5bd172 100644
--- a/minimod.pl
+++ b/minimod.pl
@@ -37,6 +37,7 @@ open MINI, "miniperlmain.c";
 while (<MINI>) {
     last if /Do not delete this line--writemain depends on it/;
     print;
+    /#include "perl.h"/ and print qq/#include "XSUB.h"\n/;
 }
 
 print <<'END';

--
Perl5 Master Repository

Reply via email to