summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2007-06-06 16:33:42 +0000
committerSteve Hay <SteveHay@planit.com>2007-06-06 16:33:42 +0000
commit574e26a812b44201554c9f5dd46af115b271490b (patch)
tree1119a0c937ab24a57064341e927dd71793d04c83
parentc6b8c3de7b6d7968000be27963acb919f9605b07 (diff)
downloadperl-574e26a812b44201554c9f5dd46af115b271490b.tar.gz
Stop VC7 and VC8 complaining about the DESCRIPTION statement
in perldll.def (it isn't supported any more). p4raw-id: //depot/perl@31343
-rw-r--r--makedef.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/makedef.pl b/makedef.pl
index 73d04b2439..f0e359d794 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");