Fix IPv6 linking for UWP

This commit is contained in:
George Marques 2016-10-31 21:39:45 -02:00
parent 681575fa71
commit 4160b3c9fe
No known key found for this signature in database
GPG key ID: 046BD46A3201E43D

View file

@ -10,6 +10,10 @@
#endif
#endif
#ifdef WINRT_ENABLED
#define in6addr_any IN6ADDR_ANY_INIT
#endif
// helpers for sockaddr -> IP_Address and back, should work for posix and winsock. All implementations should use this
static size_t _set_sockaddr(struct sockaddr_storage* p_addr, const IP_Address& p_ip, int p_port) {