1
Fork 0
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/dirent-private.h, m4/codeset.m4, m4/locale-fr.m4, m4/musl.m4:
New files, from Gnulib.
This commit is contained in:
Paul Eggert 2023-05-14 18:51:22 -07:00
parent e7dc30c1d5
commit b77d357ea3
79 changed files with 1472 additions and 465 deletions

View file

@ -20,6 +20,13 @@
#endif
@PRAGMA_COLUMNS@
/* This file uses #include_next of a system file that defines time_t.
For the 'year2038' module to work right, <config.h> needs to have been
included before. */
#if !_GL_CONFIG_H_INCLUDED
#error "Please include config.h first."
#endif
/* Don't get in the way of glibc when it includes time.h merely to
declare a few standard symbols, rather than to declare all the
symbols. (However, skip this for MinGW as it treats __need_time_t
@ -45,6 +52,12 @@
# @INCLUDE_NEXT@ @NEXT_TIME_H@
/* This file uses _GL_ATTRIBUTE_DEPRECATED, GNULIB_POSIXCHECK,
HAVE_RAW_DECL_*. */
# if !_GL_CONFIG_H_INCLUDED
# error "Please include config.h first."
# endif
/* NetBSD 5.0 mis-defines NULL. */
# include <stddef.h>
@ -154,7 +167,9 @@ _GL_CXXALIAS_RPL (time, time_t, (time_t *__tp));
# else
_GL_CXXALIAS_SYS (time, time_t, (time_t *__tp));
# endif
# if __GLIBC__ >= 2
_GL_CXXALIASWARN (time);
# endif
# endif
/* Sleep for at least RQTP seconds unless interrupted, If interrupted,
@ -341,7 +356,9 @@ _GL_CXXALIASWARN (strptime);
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
# define ctime rpl_ctime
# endif
# ifndef __cplusplus
_GL_ATTRIBUTE_DEPRECATED
# endif
_GL_FUNCDECL_RPL (ctime, char *, (time_t const *__tp)
_GL_ARG_NONNULL ((1)));
_GL_CXXALIAS_RPL (ctime, char *, (time_t const *__tp));