From: Viktor Szakats Date: Sun, 16 Feb 2025 19:05:50 +0000 (+0100) Subject: build: drop more unused `HAVE_STRTOLL` X-Git-Tag: curl-8_13_0~458 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1d0ca25d8b986c8aea52b09a0936a6a383112703;p=thirdparty%2Fcurl.git build: drop more unused `HAVE_STRTOLL` Follow-up to e5326bfb4477f54df64e2a7d0c2627f236a7130d #16350 Closes #16353 --- diff --git a/CMake/unix-cache.cmake b/CMake/unix-cache.cmake index 65bfe6a84b..07bfcbe6cd 100644 --- a/CMake/unix-cache.cmake +++ b/CMake/unix-cache.cmake @@ -251,7 +251,6 @@ else() set(HAVE_STROPTS_H 0) # glibc 2.30 or newer. https://sourceware.org/legacy-ml/libc-alpha/2019-08/msg00029.html endif() set(HAVE_STRTOK_R 1) -set(HAVE_STRTOLL 1) set(HAVE_STRUCT_SOCKADDR_STORAGE 1) set(HAVE_STRUCT_TIMEVAL 1) if(ANDROID OR CMAKE_SYSTEM_NAME STREQUAL "iOS") diff --git a/CMake/win32-cache.cmake b/CMake/win32-cache.cmake index 5823fed99a..3e242322ec 100644 --- a/CMake/win32-cache.cmake +++ b/CMake/win32-cache.cmake @@ -35,7 +35,6 @@ if(MINGW) set(HAVE_STDINT_H 1) # detected by CMake internally in check_type_size() set(HAVE_STDBOOL_H 1) set(HAVE_BOOL_T "${HAVE_STDBOOL_H}") - set(HAVE_STRTOLL 1) set(HAVE_BASENAME 1) set(HAVE_FTRUNCATE 1) set(HAVE_SYS_PARAM_H 1) @@ -72,10 +71,8 @@ else() endif() if(MSVC_VERSION GREATER_EQUAL 1800) set(HAVE_STDBOOL_H 1) - set(HAVE_STRTOLL 1) else() set(HAVE_STDBOOL_H 0) - set(HAVE_STRTOLL 0) endif() set(HAVE_BOOL_T "${HAVE_STDBOOL_H}") if(MSVC_VERSION GREATER_EQUAL 1900) diff --git a/lib/config-plan9.h b/lib/config-plan9.h index a6091ef830..c71b08e4e2 100644 --- a/lib/config-plan9.h +++ b/lib/config-plan9.h @@ -110,7 +110,6 @@ #define HAVE_STRCASECMP 1 #define HAVE_STRDUP 1 #define HAVE_STRTOK_R 1 -#define HAVE_STRTOLL 1 #define HAVE_STRUCT_TIMEVAL 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_PARAM_H 1