summaryrefslogtreecommitdiff
path: root/src/conf_post.h
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-02-24 08:43:09 +0800
committerPo Lu <luangruo@yahoo.com>2022-02-24 08:43:09 +0800
commit7b0e8cf347a1135e4355214634f114685e9041c3 (patch)
treec340623823a2b86441fceed5173924cdbebfe06b /src/conf_post.h
parentca9f2fc2a4c62981ef28f0b6c64e069f49230729 (diff)
downloademacs-7b0e8cf347a1135e4355214634f114685e9041c3.tar.gz
Fix the MS-DOS port
* msdos/sedlibmk.inp: * src/conf_post.h [MSDOS]: Update for recent gnulib.
Diffstat (limited to 'src/conf_post.h')
-rw-r--r--src/conf_post.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/conf_post.h b/src/conf_post.h
index cee5a0878a1..dd350b8dc83 100644
--- a/src/conf_post.h
+++ b/src/conf_post.h
@@ -194,6 +194,12 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
#define iswctype(wc, type) false
#define mbsinit(ps) 1
+/* Some things that lib/at-func.c wants. */
+#define GNULIB_SUPPORT_ONLY_AT_FDCWD
+
+/* Needed by lib/lchmod.c. */
+#define EOPNOTSUPP EINVAL
+
#define MALLOC_0_IS_NONNULL 1
/* We must intercept 'opendir' calls to stash away the directory name,