This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix code before declaration compile error on Win32
authorSteve Hay <SteveHay@planit.com>
Wed, 6 May 2009 11:50:09 +0000 (12:50 +0100)
committerSteve Hay <SteveHay@planit.com>
Wed, 6 May 2009 11:55:00 +0000 (12:55 +0100)
commit938cfd5cbc71c8edc25160094f2b45a593724fb5
treed5ed07fe0a7b9a951723cb76d81d792f1ffa089a
parentbebf870e6d027ca8a7a3da6a23b4612c5178aae4
Fix code before declaration compile error on Win32

The code written out by ExtUtils::Miniperl::writemain() contained the
code
PERL_UNUSED_CONTEXT;
before the declarations
const char file[] = __FILE__;
dXSUB_SYS;
which Win32's VC++ compiler doesn't like.
minimod.pl