From 322f9261cc58caf97a06c715e5580874ab93ada5 Mon Sep 17 00:00:00 2001 From: Kirill <20815458+dartvader316@users.noreply.github.com> Date: Mon, 30 Sep 2024 10:39:10 +0000 Subject: [PATCH] Fix send_fake implementation conditional (#163) --- desync.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/desync.c b/desync.c index 0b3208a..fde50b3 100644 --- a/desync.c +++ b/desync.c @@ -249,7 +249,9 @@ ssize_t send_fake(int sfd, char *buffer, close(fds[1]); return len; } -#else +#endif + +#ifdef _WIN32 OVERLAPPED ov = {}; ssize_t send_fake(int sfd, char *buffer,