mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
[VITA] buildfix
This commit is contained in:
parent
65b740a5ff
commit
2171439647
@ -362,6 +362,9 @@ struct in_addr6_compat
|
|||||||
|
|
||||||
const char *inet_ntop_compat(int af, const void *src, char *dst, socklen_t cnt)
|
const char *inet_ntop_compat(int af, const void *src, char *dst, socklen_t cnt)
|
||||||
{
|
{
|
||||||
|
#if defined(VITA)
|
||||||
|
return sceNetInetNtop(af,src,dst,cnt);
|
||||||
|
#else
|
||||||
if (af == AF_INET)
|
if (af == AF_INET)
|
||||||
{
|
{
|
||||||
struct sockaddr_in in;
|
struct sockaddr_in in;
|
||||||
@ -386,4 +389,5 @@ const char *inet_ntop_compat(int af, const void *src, char *dst, socklen_t cnt)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user