summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-09-06 16:24:45 +0200
committerMike Frysinger <vapier@gmail.com>2018-09-08 03:29:27 -0400
commit5dc2dd8b49520c9c8a59798a03553a7e88d94072 (patch)
tree298c7f23a0e75e31825165f78adf5a7681143235 /windows
parentd8ead0b8e0470a70f4d67fbc391b24471cdd405a (diff)
downloadlibgd-5dc2dd8b49520c9c8a59798a03553a7e88d94072.tar.gz
Remove HAVE_STDLIB_H
The C89 and later standard defines the `<stdlib.h>` header as part of the standard headers [1] and on current systems it is always present and the `HAVE_STDLIB_H` symbol can be removed. Also Autoconf suggests doing this and relying on C89 or above [2] and [3]. [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2 [2] http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4 [3] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html
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 e5bfb18..f572fbe 100644
--- a/windows/msys/Makefile
+++ b/windows/msys/Makefile
@@ -9,7 +9,7 @@ LIBVER=3.0.1
# Misc. config flags.
CDEFS=-DHAVE_ICONV -DHAVE_ICONV_H \
-DHAVE_ICONV_T_DEF -DHAVE_INTTYPES_H \
--DHAVE_STDINT_H -DHAVE_STDLIB_H -DHAVE_VISIBILITY -DICONV_CONST
+-DHAVE_STDINT_H -DHAVE_VISIBILITY -DICONV_CONST
# GnuWin32 libs should all be installed in one place.
GNUDIR=/c/tools/GnuWin32