(360) netplay_compat - 360 build fixes

This commit is contained in:
twinaphex 2014-02-11 13:19:18 +01:00
parent dda95cbe74
commit dcdc43505f

View File

@ -31,6 +31,7 @@
#elif defined(_XBOX)
#define NOD3D
#include <xtl.h>
#include <io.h>
#else
#include <sys/select.h>
#include <sys/types.h>
@ -57,7 +58,9 @@
#if defined(_WIN32)
// Woohoo, Winsock has headers from the STONE AGE. :D
#ifndef _XBOX360
#define close(x) closesocket(x)
#endif
#define CONST_CAST (const char*)
#define NONCONST_CAST (char*)
#else