mirror of
https://github.com/libretro/RetroArch
synced 2025-02-20 15:40:44 +00:00
Vita doesn't support inet_pton either
This commit is contained in:
parent
0c05828874
commit
e2090dc02d
@ -330,10 +330,7 @@ uint16_t inet_htons(uint16_t hostshort)
|
||||
int inet_ptrton(int af, const char *src, void *dst)
|
||||
{
|
||||
/* TODO/FIXME - should use InetPton on Vista and later */
|
||||
#if defined(GEKKO) || defined(_WIN32)
|
||||
if (af != AF_INET)
|
||||
return -1;
|
||||
|
||||
#if defined(GEKKO) || defined(_WIN32) || defined(VITA)
|
||||
return inet_aton(src, dst);
|
||||
#else
|
||||
return inet_pton(af, src, dst);
|
||||
|
Loading…
x
Reference in New Issue
Block a user