1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-04 06:31:13 -08:00
emacs/m4
Paul Eggert f6fb2b9e1f Port better to C23 bool+true+false keywords
C23 is adding the C++ keywords bool, true, and false;
prefer them to <stdbool.h> if they are available.
* admin/merge-gnulib (GNULIB_MODULES):
Add stdbool, which emulates C23 on pre-C23 platforms.
(AVOIDED_MODULES): Remove stdbool; Gnulib has renamed
this module to stdbool-c99 and nobody uses it so it does
not need to be avoided.
* m4/c-bool.m4: New file, from Gnulib stdbool module.
* lib-src/seccomp-filter.c, src/conf_post.h, src/dynlib.h:
* src/emacs-module.c, src/nsterm.m, src/systhread.h:
* test/src/emacs-module-resources/mod-test.c:
Use the C23 style and use bool without including <stdbool.h>.
The Gnulib stdbool module causes config.h to include stdbool.h
on pre-C23 platforms.
* src/emacs-module.h.in:
Don’t include <stdbool.h> if C23 or later, or if
it has already been included.
2022-09-28 01:09:01 -07:00
..
00gnulib.m4
__inline.m4
absolute-header.m4
acl.m4
alloca.m4
assert_h.m4
builtin-expect.m4
byteswap.m4
c-bool.m4
canonicalize.m4
clock_time.m4
copy-file-range.m4
d-type.m4
dirent_h.m4
dirfd.m4
double-slash-root.m4
dup2.m4
eealloc.m4
environ.m4
errno_h.m4
euidaccess.m4
execinfo.m4
explicit_bzero.m4
extensions.m4
extern-inline.m4
faccessat.m4
fchmodat.m4
fcntl.m4
fcntl_h.m4
fdopendir.m4
filemode.m4
flexmember.m4
fpending.m4
fpieee.m4
free.m4
fstatat.m4
fsusage.m4
fsync.m4
futimens.m4
getdtablesize.m4
getgroups.m4
getloadavg.m4
getopt.m4
getrandom.m4
gettime.m4
gettimeofday.m4
gnulib-common.m4
gnulib-comp.m4
group-member.m4
ieee754-h.m4
include_next.m4
inttypes.m4
largefile.m4
lchmod.m4
libgmp.m4
limits-h.m4
lstat.m4
malloc.m4
manywarnings.m4
mbstate_t.m4
md5.m4
memmem.m4
mempcpy.m4
memrchr.m4
minmax.m4
mkostemp.m4
mktime.m4
mode_t.m4
multiarch.m4
nanosleep.m4
nocrash.m4
nproc.m4
nstrftime.m4
off_t.m4
open-cloexec.m4
open-slash.m4
open.m4
pathmax.m4
pid_t.m4
pipe2.m4
pkg.m4
pselect.m4
pthread_sigmask.m4
rawmemchr.m4
readlink.m4
readlinkat.m4
realloc.m4
regex.m4
sha1.m4
sha256.m4
sha512.m4
sig2str.m4
sigdescr_np.m4
signal_h.m4
socklen.m4
ssize_t.m4
st_dm_mode.m4
stat-time.m4
std-gnu11.m4
stdalign.m4
stddef_h.m4
stdint.m4
stdio_h.m4
stdlib_h.m4
stpcpy.m4
string_h.m4
strnlen.m4
strtoimax.m4
strtoll.m4
symlink.m4
sys_random_h.m4
sys_select_h.m4
sys_socket_h.m4
sys_stat_h.m4
sys_time_h.m4
sys_types_h.m4
tempname.m4
time_h.m4
time_r.m4
time_rz.m4
timegm.m4
timer_time.m4
timespec.m4
tm_gmtoff.m4
unistd_h.m4
unlocked-io.m4
utimens.m4
utimensat.m4
utimes.m4
vararrays.m4
warnings.m4
wchar_t.m4
year2038.m4
zzgnulib.m4