aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPo Lu2024-12-18 09:39:45 +0800
committerPo Lu2024-12-18 09:39:45 +0800
commit03249f78153a34aab70b30f23d26210c1e7ff2a3 (patch)
treea95c3275cb27a85c5eccc666ac0f357130b3dd8a /src
parentb1e5f6d6ef8432a9cce0664238de72d387730bd1 (diff)
downloademacs-03249f78153a34aab70b30f23d26210c1e7ff2a3.tar.gz
emacs-03249f78153a34aab70b30f23d26210c1e7ff2a3.zip
Fix the DJGPP build
* msdos/sedlibmk.inp (LIB_SELINUX, USE_SELINUX_SELINUX_H): Define to 0. * src/conf_post.h (_GL_DIT_NOTDIR, ENOTSUP) [MSDOS]: Define to appropriate values.
Diffstat (limited to 'src')
-rw-r--r--src/conf_post.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/conf_post.h b/src/conf_post.h
index f2353803074..e68d5a56d9b 100644
--- a/src/conf_post.h
+++ b/src/conf_post.h
@@ -475,3 +475,10 @@ extern int emacs_setenv_TZ (char const *);
475/* Emacs does not need glibc strftime behavior for AM and PM 475/* Emacs does not need glibc strftime behavior for AM and PM
476 indicators. */ 476 indicators. */
477#define REQUIRE_GNUISH_STRFTIME_AM_PM false 477#define REQUIRE_GNUISH_STRFTIME_AM_PM false
478
479#ifdef MSDOS
480/* These are required by file-has-acl.c but defined in dirent.h and
481 errno.h, which are not generated on DOS. */
482#define _GL_DT_NOTDIR 0x100 /* Not a directory */
483#define ENOTSUP 2007
484#endif /* MSDOS */