Fix the MS-DOS build

* configure.ac (REQUIRE_GNUISH_STRFTIME_AM_PM): Move definition
to...

* src/conf_post.h (REQUIRE_GNUISH_STRFTIME_AM_PM):
...conf_post.h.
This commit is contained in:
Po Lu 2024-02-15 22:11:14 +08:00
parent 3d6137116f
commit e058380324
2 changed files with 4 additions and 2 deletions

View file

@ -1566,8 +1566,6 @@ AC_DEFUN([gt_TYPE_WINT_T],
AC_DEFUN_ONCE([gl_STDLIB_H],
[AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
gl_NEXT_HEADERS([stdlib.h])])
AC_DEFINE([REQUIRE_GNUISH_STRFTIME_AM_PM], [false],
[Emacs does not need glibc strftime behavior for AM and PM indicators.])
# Initialize gnulib right after choosing the compiler.
dnl Amongst other things, this sets AR and ARFLAGS.

View file

@ -471,3 +471,7 @@ extern int emacs_setenv_TZ (char const *);
#undef MB_CUR_MAX
#define MB_CUR_MAX REPLACEMENT_MB_CUR_MAX
#endif /* REPLACEMENT_MB_CUR_MAX */
/* Emacs does not need glibc strftime behavior for AM and PM
indicators. */
#define REQUIRE_GNUISH_STRFTIME_AM_PM false