summaryrefslogtreecommitdiff
path: root/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'function.c')
-rw-r--r--function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/function.c b/function.c
index 1eceabb..36e0268 100644
--- a/function.c
+++ b/function.c
@@ -2005,7 +2005,7 @@ abspath (const char *name, char *apath)
}
else
{
-#ifdef __CYGWIN__
+#if defined(__CYGWIN__) && defined(HAVE_DOS_PATHS)
if (STOP_SET (name[0], MAP_PATHSEP))
root_len = 1;
#endif