Browse Source

network: restore WSAsize_t define for win32

pull/2/head
mittorn 4 years ago
parent
commit
7d0e45b507
  1. 2
      engine/common/net_ws.c

2
engine/common/net_ws.c

@ -20,6 +20,8 @@ GNU General Public License for more details. @@ -20,6 +20,8 @@ GNU General Public License for more details.
#if XASH_WIN32
// Winsock
#include <WS2tcpip.h>
typedef int WSAsize_t;
#elif !defined XASH_NO_NETWORK
// BSD sockets
#include <sys/types.h>

Loading…
Cancel
Save