From eb471e84be569b97fac816b17fe607a8471c581f Mon Sep 17 00:00:00 2001 From: Nishi Date: Wed, 18 Sep 2024 21:30:19 +0000 Subject: [PATCH] fix mingw git-svn-id: file:///raid/svn-personal/tewi/trunk@67 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Server/server.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Server/server.c b/Server/server.c index db6cef6..3d7bad5 100644 --- a/Server/server.c +++ b/Server/server.c @@ -732,6 +732,7 @@ void tw_server_loop(void) { if(ret == -1) { break; }else if(ret == 0){ +#ifdef __MINGW32__ for(i = 0; i < sizeof(threads) / sizeof(threads[0]); i++){ if(threads[i].used){ DWORD ex; @@ -742,6 +743,7 @@ void tw_server_loop(void) { } } } +#endif #ifdef SERVICE if(status.dwCurrentState == SERVICE_STOP_PENDING){ break; -- 2.43.0