aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-09-05 02:05:32 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-09-05 02:05:32 +0200
commitf0b4ac1bf90a55822239c3560a4e105c720d64e8 (patch)
tree791ea23e66e44470f2aa6b21c765bb581fbd0b14 /CMakeLists.txt
parent5f75d30f458e819df3c5a68f8b4e184deb76fa02 (diff)
downloadoniguruma-f0b4ac1bf90a55822239c3560a4e105c720d64e8.zip
oniguruma-f0b4ac1bf90a55822239c3560a4e105c720d64e8.tar.gz
oniguruma-f0b4ac1bf90a55822239c3560a4e105c720d64e8.tar.bz2
Remove HAVE_LIMITS_H
The `<limits.h>` header file is part of the standard C89 headers [1] and on current systems there is no need to do a manual check anymore if header is present. Build systems checked for the presence of the header file and defined the `HAVE_LIMITS_H` symbol: - Autoconf in configure.a [2] - cmake in CMakeLists.txt Refs: [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.4 [2] http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6aae87b..04d8ae8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,7 +39,6 @@ check_include_files(stdint.h HAVE_STDINT_H)
check_include_files(stdlib.h HAVE_STDLIB_H)
check_include_files(strings.h HAVE_STRINGS_H)
check_include_files(string.h HAVE_STRING_H)
-check_include_files(limits.h HAVE_LIMITS_H)
check_include_files(sys/times.h HAVE_SYS_TIMES_H)
check_include_files(sys/time.h HAVE_SYS_TIME_H)
check_include_files(sys/types.h HAVE_SYS_TYPES_H)