From 4576a459fc0aebc48581d16a076bd0a0924ae988 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 27 Dec 2011 15:55:04 -0500 Subject: [PATCH] Remove obsolescent AC_HEADER_STDC macro We only used the resulting define in one place, and really, these headers just have to be around or its not worth trying. --- configure.ac | 3 --- glib/tests/hash.c | 2 -- 2 files changed, 5 deletions(-) diff --git a/configure.ac b/configure.ac index 78d6d3175..fb1a9844d 100644 --- a/configure.ac +++ b/configure.ac @@ -561,9 +561,6 @@ AC_TRY_COMPILE([#include ], [DIR *dir;], CFLAGS=$glib_save_CFLAGS AC_MSG_WARN([Could not determine POSIX flag. (-posix didn't work.)]))) -# Checks for header files. -AC_HEADER_STDC - # Checks for library functions. AC_FUNC_VPRINTF AC_FUNC_ALLOCA diff --git a/glib/tests/hash.c b/glib/tests/hash.c index 716bfa2a1..492e89fc8 100644 --- a/glib/tests/hash.c +++ b/glib/tests/hash.c @@ -32,11 +32,9 @@ # include #endif -#if STDC_HEADERS #include #include #include -#endif #include