From d5c293a80b1bc7e3623684b957ee2c6f3403bb9c Mon Sep 17 00:00:00 2001 From: Nishi Date: Thu, 19 Sep 2024 12:55:47 +0000 Subject: [PATCH] fix close git-svn-id: file:///raid/svn-personal/tewi/trunk@87 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Server/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/server.c b/Server/server.c index 0328977..dd97320 100644 --- a/Server/server.c +++ b/Server/server.c @@ -79,7 +79,7 @@ int tw_wildcard_match(const char* wildcard, const char* target) { } void close_socket(int sock) { -#ifdef __MINGW32__ +#if defined(__MINGW32__) || defined(__HAIKU__) closesocket(sock); #else close(sock); -- 2.43.0