summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/perl/util.h')
-rw-r--r--gnu/usr.bin/perl/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/util.h b/gnu/usr.bin/perl/util.h
index 2319d15e1cd..1a1c9ff1902 100644
--- a/gnu/usr.bin/perl/util.h
+++ b/gnu/usr.bin/perl/util.h
@@ -16,7 +16,7 @@
&& (isALNUM((f)[1]) || strchr("$-_]>",(f)[1])))))
#else /* !VMS */
-# ifdef WIN32
+# if defined(WIN32) || defined(__CYGWIN__)
# define PERL_FILE_IS_ABSOLUTE(f) \
(*(f) == '/' || *(f) == '\\' /* UNC/rooted path */ \
|| ((f)[0] && (f)[1] == ':')) /* drive name */