mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-09 05:07:00 +00:00
Turn this into #elif defined(_WIN32)
This commit is contained in:
parent
78a0711bff
commit
eeff3b87e8
@ -369,7 +369,7 @@ const char *inet_ntop_compat(int af, const void *src, char *dst, socklen_t cnt)
|
||||
return sceNetInetNtop(af,src,dst,cnt);
|
||||
#elif defined(WIIU)
|
||||
return inet_ntop(af, src, dst, cnt);
|
||||
#else
|
||||
#elif defined(_WIN32)
|
||||
if (af == AF_INET)
|
||||
{
|
||||
struct sockaddr_in in;
|
||||
@ -391,10 +391,10 @@ const char *inet_ntop_compat(int af, const void *src, char *dst, socklen_t cnt)
|
||||
sockaddr_in6), dst, cnt, NULL, 0, NI_NUMERICHOST);
|
||||
return dst;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool udp_send_packet(const char *host,
|
||||
|
Loading…
x
Reference in New Issue
Block a user