From 37534fabf2ff7248144635122feac0b413918a67 Mon Sep 17 00:00:00 2001 From: ruanshudong Date: Tue, 11 Jun 2024 22:33:11 +0800 Subject: [PATCH] fix mac TC_Socket::getLocalHosts bug --- util/src/tc_socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/src/tc_socket.cpp b/util/src/tc_socket.cpp index 6a7d1c37..af5b58c6 100755 --- a/util/src/tc_socket.cpp +++ b/util/src/tc_socket.cpp @@ -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 TC_Socket::getLocalHosts(int domain, bool withLoopIp) {