[Forwarded from bug-diffut...@gnu.org] Paul Eggert wrote: > > +AC_DEFINE([SUPPORT_NON_GREG_CALENDARS_IN_STRFTIME], [false], > > + [Do not worry about GNU strftime behavior for non-Gregorian calendars.]) > > > Either SUPPORT_NON_GREG_CALENDARS_IN_STRFTIME needs to be defined to 0, > > not false. Or the syntax check sc_Wundef_boolean needs to be tweaked. > Thanks for mentioning that. lib/strftime.c's comment suggests 'false', > which is why I defined it to 'false'. > > These days it should be OK to use 'true' and 'false' due to C23 and the > near-ubiquitous use of the 'bool' module, so I installed the attached.
2025-09-07 Paul Eggert <egg...@cs.ucla.edu> maint: allow false/true in C macros * top/maint.mk (sc_Wundef_boolean): Allow false and true in C macro definiens. C23 requires support for false and true, and the ‘bool’ module makes it easy to support this in older compilers.