diff options
author | George Marques <george@gmarqu.es> | 2016-10-31 21:39:45 -0200 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2016-10-31 21:39:45 -0200 |
commit | 4160b3c9feb32e7762ea121bb44b30ba65676760 (patch) | |
tree | 3e72a44ca0277404dc74893289910869ad02fdfb /drivers/unix | |
parent | 681575fa7123592897090c6cce44402c4e45baeb (diff) |
Fix IPv6 linking for UWP
Diffstat (limited to 'drivers/unix')
-rw-r--r-- | drivers/unix/socket_helpers.h | 4 |
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) { |