vquic.c sync guard with cf-socket.c

This commit is contained in:
Viktor Szakats 2026-06-08 04:00:26 +02:00
parent 6e44399d4d
commit 78b3de67c3
No known key found for this signature in database

View file

@ -167,7 +167,7 @@ static CURLcode do_sendmsg(struct Curl_cfilter *cf,
if(!curlx_sztouz(rv, psent)) {
switch(SOCKERRNO) {
case SOCKEWOULDBLOCK:
#if EAGAIN != SOCKEWOULDBLOCK
#if !defined(USE_WINSOCK) && defined(EAGAIN) && EAGAIN != SOCKEWOULDBLOCK
case EAGAIN:
#endif
return CURLE_AGAIN;