summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-06-08 20:13:45 +0000
committerKarl Heuer <kwzh@gnu.org>1995-06-08 20:13:45 +0000
commit2d1985a2e195b16945c304863d1c452099561324 (patch)
treea933a3e59eb3eec0852eef8d7db2e529bf416a0b /lib-src
parent76fbc89437bdc7c425e44f0181942612e6af2cb4 (diff)
downloademacs-2d1985a2e195b16945c304863d1c452099561324.tar.gz
[MSDOS]: #undef chdir.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/make-docfile.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index e45fd75b3a1..6f3c799c937 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -56,6 +56,12 @@ int scan_file ();
int scan_lisp_file ();
int scan_c_file ();
+#ifdef MSDOS
+/* s/msdos.h defines this as sys_chdir, but we're not linking with the
+ file where that function is defined. */
+#undef chdir
+#endif
+
/* Stdio stream for output to the DOC file. */
FILE *outfile;