mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
compile fixes for win32
This commit is contained in:
parent
6f7b3fa0ef
commit
a9547414f3
1 changed files with 3 additions and 1 deletions
|
@ -234,6 +234,7 @@ QW_Master (struct sockaddr_in *addr)
|
|||
{
|
||||
int sock;
|
||||
#ifdef _WIN32
|
||||
int i;
|
||||
WSADATA winsockdata;
|
||||
#endif
|
||||
|
||||
|
@ -336,7 +337,7 @@ make_host_addr (const char *host, int port, struct sockaddr_in *host_addr)
|
|||
return 0;
|
||||
}
|
||||
|
||||
|
||||
#ifndef WIN32
|
||||
static void
|
||||
read_hosts (const char *fname)
|
||||
{
|
||||
|
@ -371,6 +372,7 @@ read_hosts (const char *fname)
|
|||
}
|
||||
fclose (host_file);
|
||||
}
|
||||
#endif
|
||||
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
|
|
Loading…
Reference in a new issue