]> git.eshelyaron.com Git - emacs.git/commitdiff
(etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
authorRichard M. Stallman <rms@gnu.org>
Tue, 11 Jun 1996 21:13:14 +0000 (21:13 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 11 Jun 1996 21:13:14 +0000 (21:13 +0000)
lib-src/etags.c

index 34948781689af83bd03186fdd757dfd524b19e3c..e2737a3e66723b4de0f09524122f68e5510689b3 100644 (file)
@@ -4305,7 +4305,7 @@ concat (s1, s2, s3)
 char *
 etags_getcwd ()
 {
-#ifdef DOS_NT
+#ifdef MSDOS
   char *p, path[MAXPATHLEN + 1]; /* Fixed size is safe on MSDOS.  */
 
   getwd (path);
@@ -4316,7 +4316,7 @@ etags_getcwd ()
       *p = lowcase (*p);
 
   return strdup (path);
-#else /* not DOS_NT */
+#else /* not MSDOS */
 #if HAVE_GETCWD
   int bufsize = 200;
   char *path = xnew (bufsize, char);
@@ -4330,7 +4330,7 @@ etags_getcwd ()
     }
 
   return path;
-#else /* not DOS_NT and not HAVE_GETCWD */
+#else /* not MSDOS and not HAVE_GETCWD */
   struct linebuffer path;
   FILE *pipe;
 
@@ -4342,7 +4342,7 @@ etags_getcwd ()
 
   return path.buffer;
 #endif /* not HAVE_GETCWD */
-#endif /* not DOS_NT */
+#endif /* not MSDOS */
 }
 
 /* Return a newly allocated string containing the filename