From 1c4c29a5cde23cbcd679c32056bbec9f34f746b1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 29 Jul 2000 17:11:33 +0000 Subject: [PATCH] (dir_name): Use __MSDOS__ in favor of MSDOS. --- lib/dirname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dirname.c b/lib/dirname.c index 37f585861..d332b5e46 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); -- 2.11.0