This commit is contained in:
ctult 2015-12-25 00:09:02 -07:00
parent c1792fe84e
commit 6bdb491884

View File

@ -1140,7 +1140,13 @@ bool netplay_driver_ctl(enum rarch_netplay_ctl_state state, void *data)
return false;
}
/* /!\
netplay.c does something naughty and undefines
sockaddr_storage and addrinfo. This is disastrous
for griffin builds.
TODO: put this somewhere safer.
*/
#ifdef HAVE_SOCKET_LEGACY
#undef sockaddr_storage