network: restore WSAsize_t define for win32
This commit is contained in:
parent
9b40d91a9b
commit
7d0e45b507
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue