From: John Ellson Date: Wed, 23 Jan 2013 19:55:16 +0000 (-0500) Subject: stricter error checking in rawhide's gcc, perhaps? X-Git-Tag: LAST_LIBGRAPH~32^2~247 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=73046f191bfbb7d375a386f55cdf873d9f1e211a;p=graphviz stricter error checking in rawhide's gcc, perhaps? --- diff --git a/contrib/diffimg/diffimg.c b/contrib/diffimg/diffimg.c index f1a319d94..23518b821 100644 --- a/contrib/diffimg/diffimg.c +++ b/contrib/diffimg/diffimg.c @@ -61,8 +61,10 @@ #endif #define NOT(v) (!(v)) -#if ! defined HAVE_BOOL && ! defined __cplusplus +#if ! defined HAVE_BOOL && ! defined HAVE_STDBOOL_H && ! defined __cplusplus typedef unsigned char bool; +#endif +#ifndef false #define false 0 #define true NOT(false) #endif