mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-10 21:10:15 +00:00
Update netplay_compat.h
This commit is contained in:
parent
ce2732fef4
commit
525fc87325
@ -34,7 +34,7 @@
|
||||
#ifndef MSG_NOSIGNAL
|
||||
#define MSG_NOSIGNAL 0
|
||||
#endif
|
||||
#define isagain(bytes) (bytes==SOCKET_ERROR && WSAGetLastError()==WSAEWOULDBLOCK)
|
||||
inline bool isagain(int bytes) { return (bytes==SOCKET_ERROR && WSAGetLastError()==WSAEWOULDBLOCK); }
|
||||
#elif defined(_XBOX)
|
||||
#define NOD3D
|
||||
#include <xtl.h>
|
||||
@ -52,7 +52,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
|
||||
#define isagain(bytes) (bytes < 0 && (errno == EAGAIN || errno == EWOULDBLOCK))
|
||||
inline bool isagain(int bytes) { return (bytes < 0 && (errno == EAGAIN || errno == EWOULDBLOCK)); }
|
||||
#if defined(__CELLOS_LV2__) && !defined(__PSL1GHT__)
|
||||
#include <cell/sysmodule.h>
|
||||
#include <netex/net.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user