X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FExtUtils%2FMM_Win95.pm;h=fe3c170c6b64f4c81ea8f114f2c1c3c53090c25c;hb=53273a086103cdbbf7ebdd5f1a18b2c0777cbc1b;hp=549e1d78acdfe264e4974f6727f674965690367d;hpb=fdabeebc3413e04ccb1a18bb0b9945494795b944;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/ExtUtils/MM_Win95.pm b/lib/ExtUtils/MM_Win95.pm index 549e1d7..fe3c170 100644 --- a/lib/ExtUtils/MM_Win95.pm +++ b/lib/ExtUtils/MM_Win95.pm @@ -7,8 +7,8 @@ require ExtUtils::MM_Win32; @ISA = qw(ExtUtils::MM_Win32); use Config; -my $DMAKE = 1 if $Config{'make'} =~ /^dmake/i; -my $NMAKE = 1 if $Config{'make'} =~ /^nmake/i; +my $DMAKE = $Config{'make'} =~ /^dmake/i; +my $NMAKE = $Config{'make'} =~ /^nmake/i; =head1 NAME @@ -192,6 +192,20 @@ RCLEAN } +=item max_exec_len + +Win98 chokes on things like Encode if we set the max length to nmake's max +of 2K. So we go for a more conservative value of 1K. + +=cut + +sub max_exec_len { + my $self = shift; + + return $self->{_MAX_EXEC_LEN} ||= 1024; +} + + =item os_flavor Win95 and Win98 and WinME are collectively Win9x and Win32 @@ -209,11 +223,11 @@ sub os_flavor { =head1 AUTHOR -Code originally inside MM_Win32. Original author unknown. +Code originally inside MM_Win32. Original author unknown. -Currently maintained by Michael G Schwern . +Currently maintained by Michael G Schwern C. -Send patches and ideas to >. +Send patches and ideas to C. See http://www.makemaker.org.