diff options
author | nagachika <[email protected]> | 2025-06-14 11:41:49 +0900 |
---|---|---|
committer | nagachika <[email protected]> | 2025-06-14 11:41:49 +0900 |
commit | 5de0c228a34dc919b663b547f933fb276333fdce (patch) | |
tree | 511b8698ea1297ffc7b1a44be39a2eb9ed7f8f78 /spec/ruby/command_line/rubylib_spec.rb | |
parent | d5c8fd2043f4425c3fe2a87558dfbd80ebff9911 (diff) |
merge revision(s) 2297afda7ff3926c51fea700dfbf0f0eb4fea1e5: [Backport #21340]ruby_3_3
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
Diffstat (limited to 'spec/ruby/command_line/rubylib_spec.rb')
0 files changed, 0 insertions, 0 deletions