From 5dc2dd8b49520c9c8a59798a03553a7e88d94072 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Thu, 6 Sep 2018 16:24:45 +0200 Subject: Remove HAVE_STDLIB_H The C89 and later standard defines the `` 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 --- src/gd_jpeg.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/gd_jpeg.c') diff --git a/src/gd_jpeg.c b/src/gd_jpeg.c index b5368ea..fc05842 100644 --- a/src/gd_jpeg.c +++ b/src/gd_jpeg.c @@ -47,11 +47,6 @@ # define HAVE_BOOLEAN #endif -/* JCE undef symbols that we don't need anymore but which are - may be defined in config.h from ./configure but which are - redefined incompatibly in jpeglib.h */ -#undef HAVE_STDLIB_H - /* 1.8.1: remove dependency on jinclude.h */ #include "jpeglib.h" #include "jerror.h" -- cgit v1.2.1