summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-07-29 17:11:33 +0000
committerJim Meyering <jim@meyering.net>2000-07-29 17:11:33 +0000
commit1c4c29a5cde23cbcd679c32056bbec9f34f746b1 (patch)
tree26e430211bef54c8ec536a4ccc84dd2b616b8677
parent1dc1c3a6c87ae0697d07e12ab780c32838e67a34 (diff)
downloadgnulib-1c4c29a5cde23cbcd679c32056bbec9f34f746b1.tar.gz
(dir_name): Use __MSDOS__ in favor of MSDOS.
-rw-r--r--lib/dirname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dirname.c b/lib/dirname.c
index 37f5858619..d332b5e469 100644
--- a/lib/dirname.c
+++ b/lib/dirname.c
@@ -65,7 +65,7 @@ dir_name (const char *path)
else
{
/* Remove any trailing slashes from the result. */
-#ifdef MSDOS
+#ifdef __MSDOS__
const char *lim = ((path[0] >= 'A' && path[0] <= 'z' && path[1] == ':')
? path + 2 : path);