Merge pull request #7006 from vnen/fix-ipv6-uwp

Fix IPv6 linking for UWP
This commit is contained in:
George Marques 2016-11-01 12:39:45 -02:00 committed by GitHub
commit 3958171a7a
1 changed files with 4 additions and 0 deletions

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) {