summaryrefslogtreecommitdiff
path: root/src/vpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpath.c')
-rw-r--r--src/vpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpath.c b/src/vpath.c
index a9f3f827..bb369455 100644
--- a/src/vpath.c
+++ b/src/vpath.c
@@ -231,7 +231,7 @@ construct_vpath_list (char *pattern, char *dirpath)
len = p - v;
/* Make sure there's no trailing slash,
but still allow "/" as a directory. */
-#if MK_OS_DOS || defined(__EMX__) || defined(HAVE_DOS_PATHS)
+#if MK_OS_DOS || MK_OS_OS2 || defined(HAVE_DOS_PATHS)
/* We need also to leave alone a trailing slash in "d:/". */
if (len > 3 || (len > 1 && v[1] != ':'))
#endif