Browse Source

network: restore WSAsize_t define for win32

pull/2/head
mittorn 5 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.
#if XASH_WIN32 #if XASH_WIN32
// Winsock // Winsock
#include <WS2tcpip.h> #include <WS2tcpip.h>
typedef int WSAsize_t;
#elif !defined XASH_NO_NETWORK #elif !defined XASH_NO_NETWORK
// BSD sockets // BSD sockets
#include <sys/types.h> #include <sys/types.h>

Loading…
Cancel
Save