]> granicus.if.org Git - graphviz/commitdiff
typdef bool unless c++
authorellson <devnull@localhost>
Tue, 18 Oct 2005 19:08:17 +0000 (19:08 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 19:08:17 +0000 (19:08 +0000)
lib/common/logic.h

index 715bf638e0531b9d3610de3365048b0ecd49cdac..8056e9def3754dde8e0ff5fbe2d191fae32f8ec4 100644 (file)
@@ -23,7 +23,7 @@ extern "C" {
 
 #define NOT(v) (!(v))
 
-#if ! defined HAVE_BOOL && ! defined __cplusplus
+#ifndef __cplusplus
 typedef unsigned char bool;
 #define false 0
 #define true NOT(false)