]> granicus.if.org Git - graphviz/commitdiff
stricter error checking in rawhide's gcc, perhaps?
authorJohn Ellson <ellson@research.att.com>
Wed, 23 Jan 2013 19:55:16 +0000 (14:55 -0500)
committerJohn Ellson <ellson@research.att.com>
Wed, 23 Jan 2013 19:55:16 +0000 (14:55 -0500)
contrib/diffimg/diffimg.c

index f1a319d949546aa84f56633dd53c7d2296a598e2..23518b821e9c12890a786f4b1e011c5b83de772f 100644 (file)
 #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