(dir_name): Use __MSDOS__ in favor of MSDOS.
authorJim Meyering <jim@meyering.net>
Sat, 29 Jul 2000 17:11:33 +0000 (17:11 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 29 Jul 2000 17:11:33 +0000 (17:11 +0000)
lib/dirname.c

index 37f5858..d332b5e 100644 (file)
@@ -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);