This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Silence Win32 compiler warning
authorNicholas Clark <nick@ccl4.org>
Fri, 4 Dec 2009 15:16:04 +0000 (15:16 +0000)
committerSteve Hay <SteveHay@planit.com>
Fri, 4 Dec 2009 15:18:31 +0000 (15:18 +0000)
Subject: Re: Smoke [5.11.2] v5.11.2-105-gc2123ae FAIL(F) MSWin32 Win2000 SP4 (x86/1 cpu)
Message-ID: <20091204140536.GD2582@plum.flirble.org>

(amended to fix the obvious typo)

perl.c

diff --git a/perl.c b/perl.c
index a9abdb4..e5039f9 100644 (file)
--- a/perl.c
+++ b/perl.c
@@ -4024,7 +4024,7 @@ S_init_perllib(pTHX)
     const char *perl5lib = NULL;
 #endif
     const char *s;
-#ifdef WIN32
+#if defined(WIN32) && !defined(PERL_IS_MINIPERL)
     STRLEN len;
 #endif