summaryrefslogtreecommitdiff
path: root/lib/File
diff options
context:
space:
mode:
Diffstat (limited to 'lib/File')
-rw-r--r--lib/File/Find.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/File/Find.pm b/lib/File/Find.pm
index ef10e9d416..f803c15d51 100644
--- a/lib/File/Find.pm
+++ b/lib/File/Find.pm
@@ -734,7 +734,8 @@ if ($^O eq 'VMS') {
}
$File::Find::dont_use_nlink = 1
- if $^O eq 'os2' || $^O eq 'dos' || $^O eq 'amigaos' || $^O eq 'MSWin32';
+ if $^O eq 'os2' || $^O eq 'dos' || $^O eq 'amigaos' || $^O eq 'MSWin32' ||
+ $^O eq 'cygwin';
# Set dont_use_nlink in your hint file if your system's stat doesn't
# report the number of links in a directory as an indication