summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-09-05 22:35:09 +0200
committerMike Frysinger <vapier@gmail.com>2018-09-06 00:30:15 -0400
commitd81a1383d71f3bc17b83c5bd4de5cbb7e160e061 (patch)
tree9ce1364abf3cecaad671796afd72a05eb7d4c153 /windows
parent1e7f93922fb3adf9f131d7e94aa13386062ffe11 (diff)
downloadlibgd-d81a1383d71f3bc17b83c5bd4de5cbb7e160e061.tar.gz
Remove HAVE_LIMITS_H
The `<limits.h>` 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
Diffstat (limited to 'windows')
-rw-r--r--windows/msys/Makefile2
1 files changed, 1 insertions, 1 deletions
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.