fix build on psl1ght

Some ifdef's weren't properly guarded for PSL1GHT
This commit is contained in:
Fancy2209 committed 2025-07-30 17:06:05 +00:00
1 parent dfdae65c0a
commit e369bf02a7
3 files changed
+4 -3

No files matched your search

+1
View File
@@ -1,2 +1,3 @@
*.o
*.a
*.so
+1 -1
View File
@@ -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
View File
@@ -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);