]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
build: drop more unused `HAVE_STRTOLL`
authorViktor Szakats <commit@vsz.me>
Sun, 16 Feb 2025 19:05:50 +0000 (20:05 +0100)
committerViktor Szakats <commit@vsz.me>
Sun, 16 Feb 2025 21:06:03 +0000 (22:06 +0100)
Follow-up to e5326bfb4477f54df64e2a7d0c2627f236a7130d #16350
Closes #16353

CMake/unix-cache.cmake
CMake/win32-cache.cmake
lib/config-plan9.h

index 65bfe6a84b30e9ecc3347b0b1d863898d7597eca..07bfcbe6cd51dbad406ff00b5efdc8761c0f4e84 100644 (file)
@@ -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")
index 5823fed99a544f098965cfe38b18cf18813660e9..3e242322eccd392fef19f7751dc19410cba6a9c1 100644 (file)
@@ -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)
index a6091ef8302848c4fffc874072e69a44c1c3df15..c71b08e4e2387f63f67f42743a8c141b45a2d4cb 100644 (file)
 #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