From d81a1383d71f3bc17b83c5bd4de5cbb7e160e061 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Wed, 5 Sep 2018 22:35:09 +0200 Subject: Remove HAVE_LIMITS_H The `` header file is part of the standard C89 headers [1] and on current systems there is no need to manually check if header is present anymore. Since the libgd requires at least C89 or greater, the `HAVE_LIMITS_H` symbol defined by Autoconf in configure.ac [2], and Cmake build system files can be removed and simplifed. Refs: [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2 [2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4 --- windows/msys/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'windows') diff --git a/windows/msys/Makefile b/windows/msys/Makefile index c502d80..43bb886 100644 --- a/windows/msys/Makefile +++ b/windows/msys/Makefile @@ -8,7 +8,7 @@ LIBVER=3.0.1 # Misc. config flags. CDEFS=-DHAVE_ICONV -DHAVE_ICONV_H \ --DHAVE_ICONV_T_DEF -DHAVE_INTTYPES_H -DHAVE_LIMITS_H -DHAVE_STDDEF_H \ +-DHAVE_ICONV_T_DEF -DHAVE_INTTYPES_H -DHAVE_STDDEF_H \ -DHAVE_STDINT_H -DHAVE_STDLIB_H -DHAVE_VISIBILITY -DICONV_CONST # GnuWin32 libs should all be installed in one place. -- cgit v1.2.1