mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Update from Gnulib by running admin/merge-gnulib
* lib/endian.c, lib/endian.in.h, m4/endian_h.m4, m4/sys_cdefs_h.m4: New files, copied from Gnulib.
This commit is contained in:
parent
ce660c5c30
commit
799f78a92c
27 changed files with 918 additions and 119 deletions
|
|
@ -1252,6 +1252,9 @@ __strftime_internal (STREAM_OR_CHAR_T *s, STRFTIME_ARG (size_t maxsize)
|
|||
cpy (am_len, a_month);
|
||||
break;
|
||||
#else
|
||||
# if defined _WIN32 && !defined __CYGWIN__
|
||||
format_char = L_('b');
|
||||
# endif
|
||||
goto underlying_strftime;
|
||||
#endif
|
||||
|
||||
|
|
@ -1288,6 +1291,9 @@ __strftime_internal (STREAM_OR_CHAR_T *s, STRFTIME_ARG (size_t maxsize)
|
|||
subfmt = (const CHAR_T *) _NL_CURRENT (LC_TIME, NLW(D_T_FMT));
|
||||
#elif USE_C_LOCALE && !HAVE_STRFTIME_L
|
||||
subfmt = L_("%a %b %e %H:%M:%S %Y");
|
||||
#elif defined _WIN32 && !defined __CYGWIN__
|
||||
/* On native Windows, "%c" is "%d/%m/%Y %H:%M:%S" by default. */
|
||||
subfmt = L_("%a %b %e %H:%M:%S %Y");
|
||||
#else
|
||||
goto underlying_strftime;
|
||||
#endif
|
||||
|
|
@ -1709,8 +1715,9 @@ __strftime_internal (STREAM_OR_CHAR_T *s, STRFTIME_ARG (size_t maxsize)
|
|||
#elif USE_C_LOCALE && !HAVE_STRFTIME_L
|
||||
subfmt = L_("%I:%M:%S %p");
|
||||
goto subformat;
|
||||
#elif (defined __APPLE__ && defined __MACH__) || defined __FreeBSD__
|
||||
/* macOS, FreeBSD strftime() may produce empty output for "%r". */
|
||||
#elif (defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || (defined _WIN32 && !defined __CYGWIN__)
|
||||
/* macOS, FreeBSD, native Windows strftime() may produce empty output
|
||||
for "%r". */
|
||||
subfmt = L_("%I:%M:%S %p");
|
||||
goto subformat;
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue