diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-08-13 20:00:02 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-08-13 20:00:59 -0700 |
commit | f960bc91cd325cee7e1262944ca6114bfd4d1c1f (patch) | |
tree | d51083bb7993c211ea45c33c353d9b8065b51697 /build-aux/bootstrap.conf | |
parent | aa46eb2a5344ea32a973cdc2bb7b9d81d146543f (diff) | |
download | gnulib-f960bc91cd325cee7e1262944ca6114bfd4d1c1f.tar.gz |
stdbool: port to C23
* m4/stdbool.m4 (AC_CHECK_HEADER_STDBOOL): Copy from bleeding-edge
Autoconf. Don’t define if Autoconf 2.72 or later.
* tests/test-stdbool.c (bool, false, true)
(__bool_true_false_are_defined): Do not require these to be
defined. C23 still requires __bool_true_false_are_defined but
marks it as obsolescent, and it’s no longer worth testing.
(WORKING_BOOL): New macro, which also tests __STDC_VERSION__.
Use it in tests for working bool.
Test for bool instead of for _Bool, which C23 says is obsolescent.
Diffstat (limited to 'build-aux/bootstrap.conf')
0 files changed, 0 insertions, 0 deletions