aboutsummaryrefslogtreecommitdiffstats
path: root/lang/swift510/files/patch-swift-corelibs-foundation_Sources_Foundation_NSSwiftRuntime.swift
blob: 4729c4e61f1be66b8f9295ff6cd8cc8df898eb16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- swift-corelibs-foundation/Sources/Foundation/NSSwiftRuntime.swift.orig	2024-05-31 00:46:27 UTC
+++ swift-corelibs-foundation/Sources/Foundation/NSSwiftRuntime.swift
@@ -14,7 +14,7 @@
 // This mimics the behavior of the swift sdk overlay on Darwin
 #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
 @_exported import Darwin
-#elseif os(Linux) || os(Android) || CYGWIN || os(OpenBSD)
+#elseif os(Linux) || os(Android) || CYGWIN || os(OpenBSD) || os(FreeBSD)
 @_exported import Glibc
 #elseif os(WASI)
 @_exported import WASILibc