Skip to content

Commit 54569b5

Browse files
authored
Merge branch 'main' into enable_static_sdk_ci
2 parents bec58d2 + dac5f35 commit 54569b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GRPCNIOTransportCore/Client/Resolver/DNSResolver.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ package enum DNSResolver {
6161
}
6262

6363
var hints = addrinfo()
64-
#if os(Linux)
64+
#if os(Linux) && canImport(Glibc)
6565
hints.ai_socktype = CInt(SOCK_STREAM.rawValue)
6666
#else
6767
hints.ai_socktype = SOCK_STREAM

0 commit comments

Comments
 (0)