From: Nishi Date: Wed, 18 Sep 2024 21:30:41 +0000 (+0000) Subject: fix mingw X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=5d364ea522c83627f679e7c0047f70794be4de92;p=tewi.git fix mingw git-svn-id: file:///raid/svn-personal/tewi/trunk@68 8739d7e6-ffea-ec47-b151-bdff447c6205 --- diff --git a/Server/server.c b/Server/server.c index 3d7bad5..4618e65 100644 --- a/Server/server.c +++ b/Server/server.c @@ -714,9 +714,9 @@ struct thread_entry { void tw_server_loop(void) { struct timeval tv; + int i; #ifdef __MINGW32__ struct thread_entry threads[2048]; - int i; for(i = 0; i < sizeof(threads) / sizeof(threads[0]); i++){ threads[i].used = false; }