From: ellson Date: Fri, 4 Jan 2008 11:25:40 +0000 (+0000) Subject: janitor - don't #define NOT, TRUE, FALSE if they are already defined X-Git-Tag: LAST_LIBGRAPH~32^2~4913 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=880cf32ebfc7212787f8124dcbd56be6b2641bc1;p=graphviz janitor - don't #define NOT, TRUE, FALSE if they are already defined --- diff --git a/lib/common/types.h b/lib/common/types.h index edfc93c4f..9fab28bca 100644 --- a/lib/common/types.h +++ b/lib/common/types.h @@ -22,9 +22,15 @@ #include typedef unsigned char boolean; +#ifndef NOT #define NOT(v) (!(v)) +#endif +#ifndef FALSE #define FALSE 0 +#endif +#ifndef TRUE #define TRUE NOT(FALSE) +#endif #include "geom.h" #include "gvcext.h"