From: erg Date: Tue, 16 May 2006 21:21:07 +0000 (+0000) Subject: Add iffe test for HAVE_STDBOOL_H and HAVE_BOOL X-Git-Tag: LAST_LIBGRAPH~32^2~6617 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8722e30e6fd6c0bf9aa922410ed45217d9ea7e80;p=graphviz Add iffe test for HAVE_STDBOOL_H and HAVE_BOOL --- diff --git a/config.iffe b/config.iffe index 4357c074a..932e8658f 100644 --- a/config.iffe +++ b/config.iffe @@ -36,6 +36,7 @@ hdr ndir hdr netdb hdr search hdr stdarg +hdr stdbool hdr stddef hdr stdint hdr stdlib @@ -118,6 +119,16 @@ link{ #define HAVE_SOCKLEN_T 1 }end +compile{ + #ifdef HAVE_STDBOOL_H + #include + #endif + bool xx = true, yy = false; +}end yes{ +/* Define to 1 if compiler supports bool */ +#define HAVE_BOOL 1 +}end + compile{ #include iconv_t xx;