summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-09-05 01:02:44 +0200
committerMike Frysinger <vapier@gmail.com>2018-09-05 01:39:49 -0400
commit1e7f93922fb3adf9f131d7e94aa13386062ffe11 (patch)
tree7b06263ffa91058586e27c5936e6eeebb4187c90 /windows
parent96d68e36142a3a6446ca7d1d7f764c0156bb2b1e (diff)
downloadlibgd-1e7f93922fb3adf9f131d7e94aa13386062ffe11.tar.gz
Remove HAVE_ERRNO_H
The `<errno.h>` header file is part of the standard C89 headers [1] and on older systems there needed to be also a manual check if header is present. Since libgd requires at least C89 or greater, the `HAVE_ERRNO_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.3 [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 3af2faa..c502d80 100644
--- a/windows/msys/Makefile
+++ b/windows/msys/Makefile
@@ -7,7 +7,7 @@
LIBVER=3.0.1
# Misc. config flags.
-CDEFS=-DHAVE_ERRNO_H -DHAVE_ICONV -DHAVE_ICONV_H \
+CDEFS=-DHAVE_ICONV -DHAVE_ICONV_H \
-DHAVE_ICONV_T_DEF -DHAVE_INTTYPES_H -DHAVE_LIMITS_H -DHAVE_STDDEF_H \
-DHAVE_STDINT_H -DHAVE_STDLIB_H -DHAVE_VISIBILITY -DICONV_CONST