From 5e63558d12e0267782019f5dadfcae83a7d06e09 Mon Sep 17 00:00:00 2001 From: Marc Prud'hommeaux Date: Thu, 9 Jan 2025 16:49:28 -0500 Subject: [PATCH] Android support (#159) This PR makes the single `import Android` addition that is needed to get this package building for Android. `skip android test` passes against the emulator after I made this one change. --- Sources/CoreMetrics/Locks.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/CoreMetrics/Locks.swift b/Sources/CoreMetrics/Locks.swift index 35f282c..222170c 100644 --- a/Sources/CoreMetrics/Locks.swift +++ b/Sources/CoreMetrics/Locks.swift @@ -34,6 +34,8 @@ import Darwin import WinSDK #elseif canImport(Glibc) import Glibc +#elseif canImport(Android) +import Android #elseif canImport(Musl) import Musl #else