]> git.ipfire.org Git - thirdparty/curl.git/commit
build: tidy up `__builtin_available` feature checks (Apple)
authorViktor Szakats <commit@vsz.me>
Sat, 6 Jul 2024 01:57:51 +0000 (03:57 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 10 Jul 2024 09:42:46 +0000 (11:42 +0200)
commitcfd6f43d6ca7e57670b422bab7bbf10221a2cf3e
treefa65b5bc3c072e3664e8849c79fc634b62833f12
parent80fb7c0bef209735ab352bf4afa31193a7bc65f1
build: tidy up `__builtin_available` feature checks (Apple)

- sync detection snippet between autotools and cmake
  It wasn't causing issues, but it's useful to avoid unnecessary
  differences while debugging.

- cmake: limit check to `APPLE`.

Ref: b05dc7eb3592305de9fa85640767f3dd2a8d4c93 #14122
Cherry-picked from #14097
Closes #14127
CMake/CurlTests.c
CMake/Platforms/WindowsCache.cmake
CMakeLists.txt
acinclude.m4