summaryrefslogtreecommitdiff
path: root/lib/AutoSplit.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AutoSplit.pm')
-rw-r--r--lib/AutoSplit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AutoSplit.pm b/lib/AutoSplit.pm
index 03d76e66c3..2fd0cac32d 100644
--- a/lib/AutoSplit.pm
+++ b/lib/AutoSplit.pm
@@ -198,7 +198,7 @@ sub autosplit_file{
die "Package $package ($modpname.pm) does not match filename $filename"
unless ($filename =~ m/\Q$modpname.pm\E$/ or
- ($^O eq "msdos") or
+ ($^O eq "msdos") or ($^O eq 'MSWin32') or
$Is_VMS && $filename =~ m/$modpname.pm/i);
my($al_idx_file) = "$autodir/$modpname/$IndexFile";