forked from rosebudai/OpenRCT2-Web
This commit is contained in:
1 parent
49fbc30a97
commit
5e725913f8
9 files changed
+40
-88
No files matched your search
@@ -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