Fix send_fake implementation conditional (#163)

This commit is contained in:
Kirill 2024-09-30 10:39:10 +00:00 committed by GitHub
parent dcc492b8fd
commit 322f9261cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -249,7 +249,9 @@ ssize_t send_fake(int sfd, char *buffer,
close(fds[1]); close(fds[1]);
return len; return len;
} }
#else #endif
#ifdef _WIN32
OVERLAPPED ov = {}; OVERLAPPED ov = {};
ssize_t send_fake(int sfd, char *buffer, ssize_t send_fake(int sfd, char *buffer,