summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VMS/CONFIGURE.COM6
-rw-r--r--cmake/modules/AC_HEADER_STDC.cmake1
-rw-r--r--configure.ac1
-rw-r--r--src/config.h.cmake3
-rw-r--r--src/gd_intern.h3
-rw-r--r--windows/msys/Makefile2
6 files changed, 1 insertions, 15 deletions
diff --git a/VMS/CONFIGURE.COM b/VMS/CONFIGURE.COM
index a16e021..a0f2e71 100644
--- a/VMS/CONFIGURE.COM
+++ b/VMS/CONFIGURE.COM
@@ -889,12 +889,6 @@ $COPY SYS$INPUT [.SRC]CONFIG.H
/* Define to 1 if you have the <libpng/png.h> header file. */
/* #undef HAVE_LIBPNG_PNG_H */
-
-
-/* Define to 1 if you have the <limits.h> header file. */
-//#define HAVE_LIMITS_H 1
-
-
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
diff --git a/cmake/modules/AC_HEADER_STDC.cmake b/cmake/modules/AC_HEADER_STDC.cmake
index 3f43daa..6d34272 100644
--- a/cmake/modules/AC_HEADER_STDC.cmake
+++ b/cmake/modules/AC_HEADER_STDC.cmake
@@ -2,7 +2,6 @@
check_include_files(dirent.h HAVE_DIRENT_H)
check_include_files(inttypes.h HAVE_INTTYPES_H)
-check_include_files(limits.h HAVE_LIMITS_H)
check_include_files(stddef.h HAVE_STDDEF_H)
check_include_files(stdint.h HAVE_STDINT_H)
check_include_files(stdlib.h HAVE_STDLIB_H)
diff --git a/configure.ac b/configure.ac
index db5db52..7036bf3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -61,7 +61,6 @@ AC_HEADER_STDC
AC_CHECK_HEADERS_ONCE(m4_flatten([
dirent.h
inttypes.h
- limits.h
stddef.h
stdint.h
stdlib.h
diff --git a/src/config.h.cmake b/src/config.h.cmake
index ece37e3..6173030 100644
--- a/src/config.h.cmake
+++ b/src/config.h.cmake
@@ -60,9 +60,6 @@
/* Define if you have zlib */
#cmakedefine HAVE_LIBZ
-/* Define to 1 if you have the <limits.h> header file. */
-#cmakedefine HAVE_LIMITS_H
-
/* Define to 1 if you have the <memory.h> header file. */
#cmakedefine HAVE_MEMORY_H
diff --git a/src/gd_intern.h b/src/gd_intern.h
index 414a759..3bf1fa8 100644
--- a/src/gd_intern.h
+++ b/src/gd_intern.h
@@ -1,10 +1,7 @@
#ifndef GD_INTERN_H
#define GD_INTERN_H
-#ifdef HAVE_LIMITS_H
#include <limits.h>
-#endif
-
#ifndef MAXPATHLEN
# ifdef PATH_MAX
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.