From 4160b3c9feb32e7762ea121bb44b30ba65676760 Mon Sep 17 00:00:00 2001 From: George Marques Date: Mon, 31 Oct 2016 21:39:45 -0200 Subject: Fix IPv6 linking for UWP --- drivers/unix/socket_helpers.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/unix') 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) { -- cgit v1.2.3