Subversion Repositories Tewi

Rev

Rev 377 | Rev 389 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 377 Rev 384
Line 1... Line 1...
1
/* $Id: server.c 377 2024-10-17 10:17:48Z nishi $ */
1
/* $Id: server.c 384 2024-10-17 10:30:28Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "../config.h"
5
#include "../config.h"
6
 
6
 
Line 1011... Line 1011...
1011
	int i;
1011
	int i;
1012
#ifndef USE_POLL
1012
#ifndef USE_POLL
1013
	fd_set fdset;
1013
	fd_set fdset;
1014
	struct timeval tv;
1014
	struct timeval tv;
1015
#endif
1015
#endif
1016
#if defined(__MINGW32__) || defined(__HAIKU__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__NETWARE__))
1016
#if defined(__MINGW32__) || defined(__HAIKU__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__NETWARE__) && !defined(__DOS__))
1017
	struct thread_entry threads[2048];
1017
	struct thread_entry threads[2048];
1018
	for(i = 0; i < sizeof(threads) / sizeof(threads[0]); i++) {
1018
	for(i = 0; i < sizeof(threads) / sizeof(threads[0]); i++) {
1019
		threads[i].used = false;
1019
		threads[i].used = false;
1020
	}
1020
	}
1021
#endif
1021
#endif