mirror of
https://github.com/curl/curl.git
synced 2026-08-03 02:20:29 +03:00
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: b05dc7eb35 #14122
Cherry-picked from #14097
Closes #14127
This commit is contained in:
parent
80fb7c0bef
commit
cfd6f43d6c
4 changed files with 6 additions and 6 deletions
|
|
@ -173,7 +173,6 @@ set(HAVE_IOCTLSOCKET_FIONBIO 1)
|
|||
set(HAVE_IOCTL_FIONBIO 0)
|
||||
set(HAVE_SETSOCKOPT_SO_NONBLOCK 0)
|
||||
set(HAVE_POSIX_STRERROR_R 0)
|
||||
set(HAVE_BUILTIN_AVAILABLE 0)
|
||||
set(HAVE_MSG_NOSIGNAL 0)
|
||||
set(HAVE_STRUCT_TIMEVAL 1)
|
||||
set(HAVE_STRUCT_SOCKADDR_STORAGE 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue