Project

General

Profile

« Previous | Next » 

Revision ca1ea957

Added by alanwu (Alan Wu) 6 months ago

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, should be able take
that suggestion and include stdbool.h without a check. This worked
fine on rubyci.org.

[Backport #21340]