Skip to content

Commit

Permalink
fix mac TC_Socket::getLocalHosts bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanshudong committed Jun 11, 2024
1 parent 6853187 commit 37534fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/src/tc_socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ void TC_Socket::createPipe(int fds[2], bool bBlock)
THROW_EXCEPTION_SYSCODE(TC_Socket_Exception, "[TC_Socket::createPipe] error");
}

#if TARGET_PLATFORM_LINUX||TARGET_PLATFORM_IOS
#if TARGET_PLATFORM_LINUX

vector<string> TC_Socket::getLocalHosts(int domain, bool withLoopIp)
{
Expand Down

0 comments on commit 37534fa

Please sign in to comment.