WIN32 preprocessor symbols is usually tested with #ifdef, not #if
[p5sagit/p5-mst-13.2.git] / win32 / config_sh.PL
index 98e158c..c36eeb3 100644 (file)
@@ -43,7 +43,6 @@ while (@{$optref} && $optref->[0] =~ /^([\w_]+)=(.*)$/) {
 }
 
 FindExt::scan_ext("../ext");
-FindExt::scan_ext("ext") if -d 'ext';  # also look in win32/ext/ if it exists
 FindExt::set_static_extensions(split ' ', $opt{'static_ext'});
 
 $opt{'nonxs_ext'}        = join(' ',FindExt::nonxs_ext()) || ' ';
@@ -131,20 +130,14 @@ if ($opt{uselargefiles} eq 'define' and $opt{cc} ne 'bcc32') {
     }
 }
 
-# change the sGMTIME_min and sGMTIME_max for VS2005 (aka VC 8) and
+# change the s{GM|LOCAL}TIME_{min|max} for VS2005 (aka VC 8) and
 # VS2008 (aka VC 9) or higher (presuming that later versions will have
 # at least the range of that).
 if ($opt{cc} eq 'cl' and $opt{ccversion} =~ /^(\d+)/) {
     my $ccversion = $1;
-    if ($ccversion == 14) {
-       $opt{sGMTIME_max} = 32535244799;
-       $opt{sLOCALTIME_max} = 32535244799;
-    }
-    elsif ($ccversion >= 15) {
-       $opt{sGMTIME_min} = -43200;
+    if ($ccversion >= 14) {
        $opt{sGMTIME_max} = 32535291599;
-       $opt{sLOCALTIME_min} = -43200;
-       $opt{sLOCALTIME_max} = 32535291599;
+       $opt{sLOCALTIME_max} = 32535244799;
     }
 }