diff options
author | Jim Meyering <jim@meyering.net> | 2000-07-29 17:11:33 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-07-29 17:11:33 +0000 |
commit | 048017b39c8b5c1c77f0ba7a8e28d16bb798a6b9 (patch) | |
tree | 97250f812e60d63666b09e74cd956ab11b79315e /lib | |
parent | 734d41188446dbe189875c1a5599d82cc05cfdb4 (diff) | |
download | coreutils-048017b39c8b5c1c77f0ba7a8e28d16bb798a6b9.tar.xz |
(dir_name): Use __MSDOS__ in favor of MSDOS.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dirname.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |