Fix compilation on Windows < Vista

This commit is contained in:
SirLynix
2023-12-28 13:25:33 +01:00
parent 4039d16df0
commit 3d21401569
5 changed files with 44 additions and 10 deletions

View File

@@ -23,9 +23,9 @@ namespace Nz
~IpAddressImpl() = delete;
static IpAddress FromAddrinfo(const addrinfo* info);
#if NAZARA_UTILS_WINDOWS_NT6
#if NAZARA_UTILS_WINDOWS_NT6
static IpAddress FromAddrinfo(const addrinfoW* info);
#endif
#endif
static IpAddress FromSockAddr(const sockaddr* address);
static IpAddress FromSockAddr(const sockaddr_in* addressv4);
static IpAddress FromSockAddr(const sockaddr_in6* addressv6);