summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-09-05 03:43:02 +0200
committerMike Frysinger <vapier@gmail.com>2018-09-06 02:04:22 -0400
commit486467fc8f67863ac9d191ac52f1ad4c607397aa (patch)
tree2255c97c4062d81c074004c7702527607df3247e /windows
parent0f98c3fe7a40cfebdc8de7e0f219efa2a37ec7a6 (diff)
downloadlibgd-486467fc8f67863ac9d191ac52f1ad4c607397aa.tar.gz
Remove HAVE_STDDEF_H
The `<stddef.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_STDDEF_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 43bb886..e5bfb18 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_STDDEF_H \
+-DHAVE_ICONV_T_DEF -DHAVE_INTTYPES_H \
-DHAVE_STDINT_H -DHAVE_STDLIB_H -DHAVE_VISIBILITY -DICONV_CONST
# GnuWin32 libs should all be installed in one place.