mirror of
https://github.com/libretro/tyrquake.git
synced 2026-11-07 04:35:58 -10:00
fix build on psl1ght
Some ifdef's weren't properly guarded for PSL1GHT
This commit is contained in:
1 parent
dfdae65c0a
commit
e369bf02a7
3 files changed
+4
-3
No files matched your search
@@ -1,2 +1,3 @@
|
||||
*.o
|
||||
*.a
|
||||
*.so
|
||||
+1
-1
@@ -26,7 +26,7 @@ extern int m_state;
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#ifdef __PS3__
|
||||
#if !defined(__PSL1GHT__) && defined(__PS3__)
|
||||
#include <netex/errno.h>
|
||||
#endif
|
||||
#include <net/net_compat.h>
|
||||
|
||||
+2
-2
@@ -30,7 +30,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef __PS3__
|
||||
#if !defined(__PSL1GHT__) && defined(__PS3__)
|
||||
#include <netex/errno.h>
|
||||
#endif
|
||||
|
||||
@@ -134,7 +134,7 @@ UDP_Init(void)
|
||||
/* determine my name & address, default to loopback */
|
||||
myAddr.ip.l = htonl(INADDR_LOOPBACK);
|
||||
myAddr.port = htons(DEFAULTnet_hostport);
|
||||
#ifdef __PS3__
|
||||
#if !defined(__PSL1GHT__) && defined(__PS3__)
|
||||
#elif defined (VITA)
|
||||
SceNetCtlInfo info;
|
||||
sceNetCtlInetGetInfo(SCE_NETCTL_INFO_GET_IP_ADDRESS, &info);
|
||||
|
||||
Reference in new issue
Block a user