mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:23:33 +03:00
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:
parent
670e3fc0fa
commit
8a192a5b70
4 changed files with 4 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue