mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 12:33:17 +01:00
This commit is contained in:
@@ -643,7 +643,7 @@ private:
|
||||
std::string GetIpAddressFromSocket(const sockaddr_in* addr) const
|
||||
{
|
||||
std::string result;
|
||||
# if defined(__MINGW32__)
|
||||
# if defined(_WIN32_WINNT) && _WIN32_WINNT < 0x0600
|
||||
if (addr->sin_family == AF_INET)
|
||||
{
|
||||
result = inet_ntoa(addr->sin_addr);
|
||||
|
||||
Reference in New Issue
Block a user