mirror of https://github.com/WerWolv/ImHex.git
sys: Fixed sockets compiling on MacOS
This commit is contained in:
parent
c55146a78c
commit
808b051a3e
|
@ -78,7 +78,7 @@ namespace hex {
|
|||
sockaddr_in client = { 0 };
|
||||
|
||||
client.sin_family = AF_INET;
|
||||
client.sin_port = ::htons(port);
|
||||
client.sin_port = htons(port);
|
||||
|
||||
#if defined(OS_WINDOWS)
|
||||
client.sin_addr.S_un.S_addr = ::inet_addr(address.c_str());
|
||||
|
|
Loading…
Reference in New Issue