We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f40cce commit e505ccfCopy full SHA for e505ccf
Sources/Foundation/Port.swift
@@ -119,7 +119,7 @@ fileprivate let FOUNDATION_SOCK_STREAM = Int32(SOCK_STREAM)
119
fileprivate let FOUNDATION_IPPROTO_TCP = Int32(IPPROTO_TCP)
120
#endif
121
122
-#if canImport(Glibc) || os(OpenBSD)
+#if canImport(Glibc) && os(OpenBSD)
123
import Glibc
124
fileprivate let FOUNDATION_SOCK_STREAM = Int32(SOCK_STREAM)
125
0 commit comments