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

@ -45,7 +45,7 @@
#include "curlx/base64.h"
#endif
#if defined(EAGAIN) && EAGAIN != SOCKEWOULDBLOCK
#if EAGAIN != SOCKEWOULDBLOCK
#define RAW_EWOULDBLOCK_EAGAIN(e) ((e) == EWOULDBLOCK || (e) == EAGAIN)
#else
#define RAW_EWOULDBLOCK_EAGAIN(e) ((e) == EWOULDBLOCK)