build: assume POSIX select() is available

This change effectively replaces an explicit compile-time #error with
a missing prototype error in environments not offering `select()`, and
saves curl-compatible systems from performing an explicit feature check.

Refs:
https://pubs.opengroup.org/onlinepubs/009695399/functions/pselect.html
https://linux.die.net/man/2/select

Closes #22448
This commit is contained in:
Viktor Szakats 2026-07-30 14:20:59 +02:00
parent decc609085
commit cb21a37a68
No known key found for this signature in database
12 changed files with 1 additions and 80 deletions

View file

@ -226,7 +226,6 @@ set(HAVE_REALPATH 1)
set(HAVE_RECV 1)
set(HAVE_SA_FAMILY_T 1)
set(HAVE_SCHED_YIELD 1)
set(HAVE_SELECT 1)
set(HAVE_SEND 1)
if(APPLE OR
CYGWIN OR