drop defined(EAGAIN) checks everywhere

There was an unprotected unconditional use in src. Also in vquic
and socketpair, on conditions.
This commit is contained in:
Viktor Szakats 2026-06-08 04:05:21 +02:00
parent 670e3fc0fa
commit 8a192a5b70
No known key found for this signature in database
4 changed files with 4 additions and 4 deletions

View file

@ -942,7 +942,7 @@ static CURLcode socket_connect_result(struct Curl_easy *data,
switch(error) {
case SOCKEINPROGRESS:
case SOCKEWOULDBLOCK:
#if !defined(USE_WINSOCK) && defined(EAGAIN) && EAGAIN != SOCKEWOULDBLOCK
#if !defined(USE_WINSOCK) && EAGAIN != SOCKEWOULDBLOCK
/* On some platforms EAGAIN and EWOULDBLOCK are the
* same value, and on others they are different, hence
* the odd #if