mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-25 13:32:01 +00:00
fix for *nix
This commit is contained in:
parent
e32fb4d048
commit
81ac48eaf0
1 changed files with 2 additions and 2 deletions
|
@ -97,11 +97,12 @@ netadr_t net_from;
|
|||
sizebuf_t net_message;
|
||||
int net_socket;
|
||||
|
||||
extern qboolean is_server;
|
||||
|
||||
#define MAX_UDP_PACKET (MAX_MSGLEN*2)
|
||||
byte net_message_buffer[MAX_UDP_PACKET];
|
||||
|
||||
#ifdef _WIN32
|
||||
extern qboolean is_server;
|
||||
WSADATA winsockdata;
|
||||
#endif
|
||||
|
||||
|
@ -249,7 +250,6 @@ NET_GetPacket (void)
|
|||
int ret;
|
||||
struct sockaddr_in from;
|
||||
socklen_t fromlen;
|
||||
int i;
|
||||
|
||||
fromlen = sizeof (from);
|
||||
ret =
|
||||
|
|
Loading…
Reference in a new issue