summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2016-11-01 12:39:45 -0200
committerGitHub <noreply@github.com>2016-11-01 12:39:45 -0200
commit3958171a7a26dc7c7eac116312db533635b57eba (patch)
tree58e0070c68d491fd0faeecf05f3f4153da8e3a69
parent7e3aa4bd5e500d35401f5f2b15f1da65af12b26d (diff)
parent4160b3c9feb32e7762ea121bb44b30ba65676760 (diff)
Merge pull request #7006 from vnen/fix-ipv6-uwp
Fix IPv6 linking for UWP
-rw-r--r--drivers/unix/socket_helpers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/unix/socket_helpers.h b/drivers/unix/socket_helpers.h
index 9693911acd..3aaae82da2 100644
--- a/drivers/unix/socket_helpers.h
+++ b/drivers/unix/socket_helpers.h
@@ -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) {