From: Steve Hay Date: Wed, 6 Jun 2007 16:33:42 +0000 (+0000) Subject: Stop VC7 and VC8 complaining about the DESCRIPTION statement X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=574e26a812b44201554c9f5dd46af115b271490b;p=p5sagit%2Fp5-mst-13.2.git Stop VC7 and VC8 complaining about the DESCRIPTION statement in perldll.def (it isn't supported any more). p4raw-id: //depot/perl@31343 --- diff --git a/makedef.pl b/makedef.pl index 73d04b2..f0e359d 100644 --- a/makedef.pl +++ b/makedef.pl @@ -161,7 +161,11 @@ print STDERR "Defines: (" . join(' ', sort keys %define) . ")\n"; if ($PLATFORM =~ /^win(?:32|ce)$/) { (my $dll = ($define{PERL_DLL} || "perl59")) =~ s/\.dll$//i; print "LIBRARY $dll\n"; - print "DESCRIPTION 'Perl interpreter'\n"; + # The DESCRIPTION module definition file statement is not supported + # by VC7 onwards. + if ($CCTYPE !~ /^MSVC7/ && $CCTYPE !~ /^MSVC8/) { + print "DESCRIPTION 'Perl interpreter'\n"; + } print "EXPORTS\n"; if ($define{PERL_IMPLICIT_SYS}) { output_symbol("perl_get_host_info");