]> Savannah Git Hosting - gnulib.git/commit
stdbool: omit ‘#undef true’
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Sep 2022 18:26:36 +0000 (11:26 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Sep 2022 18:27:17 +0000 (11:27 -0700)
commit154986613fe8d25d086568426b394098a6f2f7aa
tree83035093b69c11fd6e6efab8d64bb5a64d069e09
parent2b8a2b6cb22ba7d9168db2361a15b26d46fdcb2f
stdbool: omit ‘#undef true’

This is mostly just simplification.
* m4/c-bool.m4 (gl_C_BOOL): Test all preprocessors when
!HAVE_C_BOOL, not merely __SUNPRO_CC.  Use the slightly
more-elegant ‘!true’ instead of ‘true == 1’; this shouldn’t matter
in practice and if it does matter we want to know about it anyway.
Remove an unnecessary ‘#undef true’ that is simply commented out
by ‘configure’; again, if true is already #defined to be 0 the
system is so messed up we want to know about it anyway.
ChangeLog
m4/c-bool.m4