From: Erwin Janssen Date: Sun, 11 Dec 2016 00:49:39 +0000 (+0100) Subject: Remove definition and usage of HAVE_STDDEF_H X-Git-Tag: 2.40.1~2^2~1^2^2~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fcda80d7c7ae4972980769313ffa686df71b907d;p=graphviz Remove definition and usage of HAVE_STDDEF_H The header is part of the standard C library and is always available, checking is therefore not needed. --- diff --git a/configure.ac b/configure.ac index 3a0ec0109..e5c203188 100644 --- a/configure.ac +++ b/configure.ac @@ -425,7 +425,7 @@ dnl ----------------------------------- dnl Checks for header files # AC_HEADER_STDC -AC_CHECK_HEADERS(stddef.h stddef.h malloc.h \ +AC_CHECK_HEADERS(malloc.h \ fcntl.h search.h pthread.h values.h float.h limits.h termios.h \ errno.h time.h unistd.h strings.h setjmp.h \ sys/time.h sys/times.h sys/types.h sys/select.h \ diff --git a/lib/common/render.h b/lib/common/render.h index 1b31e5d46..61f40010b 100644 --- a/lib/common/render.h +++ b/lib/common/render.h @@ -29,9 +29,7 @@ extern "C" { #else #include #endif -#ifdef HAVE_STDDEF_H #include -#endif #ifdef HAVE_STRINGS_H #include #endif diff --git a/windows/include/config.h b/windows/include/config.h index 5a3f1d5d2..412aeb171 100644 --- a/windows/include/config.h +++ b/windows/include/config.h @@ -261,9 +261,6 @@ /* Define to 1 if stdbool.h conforms to C99. */ //#define HAVE_STDBOOL_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_STDDEF_H 1 - /* Define to 1 if you have the `strcasecmp' function. */ //#define HAVE_STRCASECMP 1