diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2025-05-21 00:58:32 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-20 15:58:32 +0000 |
| commit | 2297afda7ff3926c51fea700dfbf0f0eb4fea1e5 (patch) | |
| tree | 4f608e57e4fb66b70ed752d72469d4930533ca3d /spec/ruby/security | |
| parent | ce5eb2803e91d268365bbf403611de557fb78f51 (diff) | |
Include stdbool.h without checking with autoconf
As reported in <https://bugs.ruby-lang.org/issues/21340>, older autoconf
have an AC_HEADER_STDBOOL that's incompatible with C23. Autoconf 2.72
fixed the macro, but also mentions that it's obsolescent since all
current compilers have this header.
Since we require C99 [1] and VS 2015 [2], we might actually be able take
that suggestion and include stdbool.h without a check. I want to try
this on rubyci.org and will revert if this cause any issues. Not
touching AC_HEADER_STDBOOL in configure.ac for now.
[1]: https://bugs.ruby-lang.org/issues/15347
[2]: https://bugs.ruby-lang.org/issues/19982
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13384
Merged-By: XrXr
Diffstat (limited to 'spec/ruby/security')
0 files changed, 0 insertions, 0 deletions
