From 3a3430e79e2ebc8e69790610298722807f9150f6 Mon Sep 17 00:00:00 2001 From: Mateusz Dukat Date: Tue, 13 May 2025 00:31:12 +0200 Subject: [PATCH] http.h: Move 'u_long nonblocking' to _WIN32 block --- http.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.h b/http.h index 9d6f9dd..9db770c 100644 --- a/http.h +++ b/http.h @@ -316,8 +316,8 @@ HTTP_SOCKET http_internal_connect( char const* address, char const* port ) } // set socket to nonblocking mode - u_long nonblocking = 1; #ifdef _WIN32 + u_long nonblocking = 1; int res = ioctlsocket( sock, FIONBIO, &nonblocking ); #else int flags = fcntl( sock, F_GETFL, 0 );