]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix the MS-DOS port
authorPo Lu <luangruo@yahoo.com>
Thu, 24 Feb 2022 00:43:09 +0000 (08:43 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 24 Feb 2022 00:43:09 +0000 (08:43 +0800)
* msdos/sedlibmk.inp:
* src/conf_post.h [MSDOS]: Update for recent gnulib.

msdos/sedlibmk.inp
src/conf_post.h

index 8602aaf449e90a8d601ed9ea2ea600eccb9043a6..a983b1bbb12e9bed4a75aded52441c705cf1d2fd 100644 (file)
@@ -418,6 +418,8 @@ s/= @GL_GENERATE_LIMITS_H_CONDITION@/= /
 s/= @GL_GENERATE_GMP_H_CONDITION@/= 1/
 s/= @GL_GENERATE_GMP_GMP_H_CONDITION@/= /
 s/= @GL_GENERATE_MINI_GMP_H_CONDITION@/= 1/
+s/= @GL_COND_OBJ_STDIO_READ_CONDITION@/= /
+s/= @GL_COND_OBJ_STDIO_WRITE_CONDITION@/= /
 s/\$\(MKDIR_P\) malloc//
 #
 # Determine which modules to build and which to omit
@@ -429,7 +431,6 @@ OMIT_GNULIB_MODULE_careadlinkat = true\
 OMIT_GNULIB_MODULE_cloexec = true\
 OMIT_GNULIB_MODULE_dirent = true\
 OMIT_GNULIB_MODULE_dirfd = true\
-OMIT_GNULIB_MODULE_scratch_buffer = true\
 OMIT_GNULIB_MODULE_dup2 = true\
 OMIT_GNULIB_MODULE_errno = true\
 OMIT_GNULIB_MODULE_euidaccess = true\
index cee5a0878a1093be7e3cf2a29af26b723abd3cfd..dd350b8dc83d5368e7e1b9211863ce2375a66523 100644 (file)
@@ -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,