mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
network: restore WSAsize_t define for win32
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user