diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2018-11-14 16:59:19 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2018-11-14 16:59:19 +0000 |
commit | ba0cbc98725a5cfa538da8b49b208a0b1f3e0bb2 (patch) | |
tree | 31d6b8cd450de6a1efa521a69dfa4a54ffc0c0e3 /CMakeLists.txt | |
parent | 30dcfda7537de8d0b95200c533cf7aad792d1d9d (diff) | |
download | pcre2-ba0cbc98725a5cfa538da8b49b208a0b1f3e0bb2.tar.gz |
Unconditionally use inttypes.h instead of trying for stdint.h (simplification)
and remove the now unnecessary inclusion in pcre2_internal.h.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1040 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index eb61221..e653e9c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,8 +80,9 @@ # 2017-03-11 PH turned HEAP_MATCH_RECURSE into a NO-OP for 10.30 # 2017-04-08 PH added HEAP_LIMIT # 2017-06-15 ZH added SUPPORT_JIT_SEALLOC support -# 2018-06-19 PH added checks for stdint.h and inttypes.h +# 2018-06-19 PH added checks for stdint.h and inttypes.h (later removed) # 2018-06-27 PH added Daniel's patch to increase the stack for MSVC +# 2018-11-14 PH removed unnecessary checks for stdint.h and inttypes.h PROJECT(PCRE2 C) @@ -115,18 +116,6 @@ CHECK_INCLUDE_FILE(sys/types.h HAVE_SYS_TYPES_H) CHECK_INCLUDE_FILE(unistd.h HAVE_UNISTD_H) CHECK_INCLUDE_FILE(windows.h HAVE_WINDOWS_H) -IF(HAVE_INTTYPES_H) - SET(PCRE2_HAVE_INTTYPES_H 1) -ELSE(HAVE_INTTYPES_H) - SET(PCRE2_HAVE_INTTYPES_H 0) -ENDIF(HAVE_INTTYPES_H) - -IF(HAVE_STDINT_H) - SET(PCRE2_HAVE_STDINT_H 1) -ELSE(HAVE_STDINT_H) - SET(PCRE2_HAVE_STDINT_H 0) -ENDIF(HAVE_STDINT_H) - CHECK_FUNCTION_EXISTS(bcopy HAVE_BCOPY) CHECK_FUNCTION_EXISTS(memmove HAVE_MEMMOVE) CHECK_FUNCTION_EXISTS(strerror HAVE_STRERROR) |