summaryrefslogtreecommitdiff
path: root/vpath.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2003-03-24 23:14:15 +0000
committerPaul Smith <psmith@gnu.org>2003-03-24 23:14:15 +0000
commita75461154496b30a73747c65380b444f16e4f5b8 (patch)
treee65ea91d7e7e0da97075c48aa69db62d8ec19af9 /vpath.c
parentdce95e213caa3b23327ed8cbc10d6bc6df161af7 (diff)
downloadmake-a75461154496b30a73747c65380b444f16e4f5b8.tar.gz
Add support for OS/2, contributed by Andreas Buening <andreas.buening@nexgo.de>
Also a small patch from Hartmut Becker <Hartmut.Becker@compaq.com> for VMS.
Diffstat (limited to 'vpath.c')
-rw-r--r--vpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpath.c b/vpath.c
index 5e04d085..7dae82d7 100644
--- a/vpath.c
+++ b/vpath.c
@@ -247,7 +247,7 @@ construct_vpath_list (char *pattern, char *dirpath)
len = p - v;
/* Make sure there's no trailing slash,
but still allow "/" as a directory. */
-#ifdef __MSDOS__
+#if defined(__MSDOS__) || defined(__EMX__)
/* We need also to leave alone a trailing slash in "d:/". */
if (len > 3 || (len > 1 && v[1] != ':'))
#endif