Change 31343 by [EMAIL PROTECTED] on 2007/06/06 16:33:42

        Stop VC7 and VC8 complaining about the DESCRIPTION statement
        in perldll.def (it isn't supported any more).

Affected files ...

... //depot/perl/makedef.pl#223 edit

Differences ...

==== //depot/perl/makedef.pl#223 (text) ====
Index: perl/makedef.pl
--- perl/makedef.pl#222~31245~  2007-05-20 16:10:15.000000000 -0700
+++ perl/makedef.pl     2007-06-06 09:33:42.000000000 -0700
@@ -161,7 +161,11 @@
 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");
End of Patch.

Reply via email to