summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-06-11 21:13:14 +0000
committerRichard M. Stallman <rms@gnu.org>1996-06-11 21:13:14 +0000
commit3f9cfb065f372042529276a127926811d49178bd (patch)
treeadc502537ca43fd14e2aca0b37d67944236bb4fa /lib-src
parent34c61a47b6783ad8b993b4e323a83062a7d12639 (diff)
downloademacs-3f9cfb065f372042529276a127926811d49178bd.tar.gz
(etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c
index 34948781689..e2737a3e667 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -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