fix mingw
git-svn-id: file:///raid/svn-personal/tewi/trunk@68 8739d7e6-ffea-ec47-b151-bdff447c6205
This commit is contained in:
parent
eb471e84be
commit
5d364ea522
|
@ -714,9 +714,9 @@ struct thread_entry {
|
||||||
|
|
||||||
void tw_server_loop(void) {
|
void tw_server_loop(void) {
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
|
int i;
|
||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
struct thread_entry threads[2048];
|
struct thread_entry threads[2048];
|
||||||
int i;
|
|
||||||
for(i = 0; i < sizeof(threads) / sizeof(threads[0]); i++){
|
for(i = 0; i < sizeof(threads) / sizeof(threads[0]); i++){
|
||||||
threads[i].used = false;
|
threads[i].used = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user