[VITA] buildfix

This commit is contained in:
Francisco José García García 2017-05-17 08:55:33 +02:00 committed by GitHub
parent 65b740a5ff
commit 2171439647

View File

@ -362,6 +362,9 @@ struct in_addr6_compat
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)
{
struct sockaddr_in in;
@ -386,4 +389,5 @@ const char *inet_ntop_compat(int af, const void *src, char *dst, socklen_t cnt)
#endif
return NULL;
#endif
}