From 7d9841d225a24e5ad08a8067c7411f7803d2b95d Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Thu, 21 Nov 2024 07:31:28 +1100 Subject: [PATCH] Android build fixes --- Sources/AllocatedLock.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Sources/AllocatedLock.swift b/Sources/AllocatedLock.swift index 053d0b6..16e1bd6 100644 --- a/Sources/AllocatedLock.swift +++ b/Sources/AllocatedLock.swift @@ -167,12 +167,14 @@ extension AllocatedLock { } } -#elseif canImport(Glibc) || canImport(Musl) +#elseif canImport(Glibc) || canImport(Musl) || canImport(Bionic) #if canImport(Musl) import Musl -#else +#elseif canImport(Glibc) import Glibc +#elseif canImport(Bionic) +import Bionic #endif extension AllocatedLock {