On 08/28/2012 10:58 AM, Mojca Miklavec wrote:
> #if HAVE_STDBOOL_H
> # include <stdbool.h>
> #else
> # ifndef __cplusplus
> #  if ! HAVE__BOOL
>     typedef unsigned char _Bool;
> #  endif
> #  define bool _Bool
> #  define false 0
> #  define true 1
> # endif
> // not really needed except to "conform with C99"
> # define __bool_true_false_are_defined 1
> #endif

This doesn't look right, as it means that older
C++ environments won't have _Bool as they should.
I think we need to fix the real problem, somehow,
though I don't use C++ myself and am not the best
person to advise.

_______________________________________________
Autoconf mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to