diff --git a/Sources/Foundation/FileManager.swift b/Sources/Foundation/FileManager.swift index c2295c033a..c28ee293b7 100644 --- a/Sources/Foundation/FileManager.swift +++ b/Sources/Foundation/FileManager.swift @@ -21,8 +21,8 @@ import WinSDK #if os(WASI) import WASILibc -#elseif canImport(Android) -import Android +#elseif canImport(Bionic) +import Bionic #endif #if os(Windows) diff --git a/Sources/Foundation/NSLock.swift b/Sources/Foundation/NSLock.swift index ddb63125d8..9d0fadc910 100644 --- a/Sources/Foundation/NSLock.swift +++ b/Sources/Foundation/NSLock.swift @@ -11,8 +11,8 @@ #if canImport(Glibc) import Glibc -#elseif canImport(Android) -import Android +#elseif canImport(Bionic) +import Bionic #endif #if os(Windows) diff --git a/Sources/Foundation/NSURL.swift b/Sources/Foundation/NSURL.swift index 4eb12a9e43..a9972c1ac2 100644 --- a/Sources/Foundation/NSURL.swift +++ b/Sources/Foundation/NSURL.swift @@ -22,8 +22,8 @@ import Darwin import Glibc #elseif canImport(Musl) import Musl -#elseif canImport(Android) -import Android +#elseif canImport(Bionic) +import Bionic #endif // NOTE: this represents PLATFORM_PATH_STYLE diff --git a/Sources/Foundation/Thread.swift b/Sources/Foundation/Thread.swift index c08fe68333..0985a4826d 100644 --- a/Sources/Foundation/Thread.swift +++ b/Sources/Foundation/Thread.swift @@ -17,8 +17,8 @@ import WinSDK import Glibc #elseif canImport(Musl) import Musl -#elseif canImport(Android) -import Android +#elseif canImport(Bionic) +import Bionic #endif // WORKAROUND_SR9811 diff --git a/Sources/Testing/Testing.swift b/Sources/Testing/Testing.swift index 712d9deef4..2483c14ed6 100644 --- a/Sources/Testing/Testing.swift +++ b/Sources/Testing/Testing.swift @@ -11,6 +11,8 @@ import Glibc #elseif canImport(Musl) import Musl +#elseif canImport(Bionic) +import Bionic #elseif os(WASI) import WASILibc #elseif canImport(CRT) diff --git a/Sources/plutil/main.swift b/Sources/plutil/main.swift index b2b1996a10..29584596d3 100644 --- a/Sources/plutil/main.swift +++ b/Sources/plutil/main.swift @@ -15,9 +15,9 @@ import Glibc #elseif canImport(Musl) import Foundation import Musl -#elseif canImport(Android) +#elseif canImport(Bionic) import Foundation -import Android +import Bionic #elseif canImport(CRT) import Foundation import CRT diff --git a/Sources/xdgTestHelper/main.swift b/Sources/xdgTestHelper/main.swift index 51ca70e51b..fb037e2435 100644 --- a/Sources/xdgTestHelper/main.swift +++ b/Sources/xdgTestHelper/main.swift @@ -19,7 +19,7 @@ import FoundationNetworking #endif #if os(Windows) import WinSDK -#elseif os(Android) +#elseif canImport(Android) import Android #endif