From: Nishi Date: Thu, 19 Sep 2024 12:55:47 +0000 (+0000) Subject: fix close X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=d5c293a80b1bc7e3623684b957ee2c6f3403bb9c;p=tewi.git fix close git-svn-id: file:///raid/svn-personal/tewi/trunk@87 8739d7e6-ffea-ec47-b151-bdff447c6205 --- 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);