]> granicus.if.org Git - graphviz/commitdiff
Remove final check and usage of stdbool.h
authorErwin Janssen <erwinjanssen@outlook.com>
Wed, 8 Feb 2017 17:10:52 +0000 (18:10 +0100)
committerErwin Janssen <erwinjanssen@outlook.com>
Mon, 6 Mar 2017 10:12:55 +0000 (11:12 +0100)
Removed the check for stdbool.h from configure.ac and a remaining usage
of the define.

configure.ac
contrib/diffimg/diffimg.c
windows/include/config.h

index 17a721c53dfd3d73707eda79cdf58928d99b3da3..31f3f1930417881a0cde6afcb6f1c75c4be8bc6d 100644 (file)
@@ -425,7 +425,6 @@ AC_CHECK_HEADERS(malloc.h \
        sys/ioctl.h sys/inotify.h crt_externs.h)
 AC_HEADER_TIME
 AC_HEADER_DIRENT
-AC_HEADER_STDBOOL
 
 # Internationalization macros
 # AM_GNU_GETTEXT
index fc15e25e3b19facb6281f3e32db7334fbadfa651..91e65314ef3210dc745f37e0606c13467ca92b6f 100644 (file)
@@ -45,9 +45,7 @@
 #include <sysexits.h>
 #endif
 #include <gd.h>
-#if defined HAVE_STDBOOL_H && ! defined __cplusplus
 #include <stdbool.h>
-#endif
 
 #define NOT(v) (!(v))
 #ifndef false
index 8b4a5c0f5f4a1917693171a3717f28e239829fa3..c9fd60cf56112a9929ed88a297d1585e44ad7008 100644 (file)
 /* Define to 1 if you have the `srand48' function. */
 /* #undef HAVE_SRAND48 */
 
-/* Define to 1 if stdbool.h conforms to C99. */
-//#define HAVE_STDBOOL_H 1
-
 /* Define to 1 if you have the `strcasecmp' function. */
 //#define HAVE_STRCASECMP 1