mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-06 11:38:23 +00:00
(360) netplay_compat - 360 build fixes
This commit is contained in:
parent
dda95cbe74
commit
dcdc43505f
@ -31,6 +31,7 @@
|
|||||||
#elif defined(_XBOX)
|
#elif defined(_XBOX)
|
||||||
#define NOD3D
|
#define NOD3D
|
||||||
#include <xtl.h>
|
#include <xtl.h>
|
||||||
|
#include <io.h>
|
||||||
#else
|
#else
|
||||||
#include <sys/select.h>
|
#include <sys/select.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@ -57,7 +58,9 @@
|
|||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
// Woohoo, Winsock has headers from the STONE AGE. :D
|
// Woohoo, Winsock has headers from the STONE AGE. :D
|
||||||
|
#ifndef _XBOX360
|
||||||
#define close(x) closesocket(x)
|
#define close(x) closesocket(x)
|
||||||
|
#endif
|
||||||
#define CONST_CAST (const char*)
|
#define CONST_CAST (const char*)
|
||||||
#define NONCONST_CAST (char*)
|
#define NONCONST_CAST (char*)
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user