From e59bc014c8242fa3484979160a0c13a533293920 Mon Sep 17 00:00:00 2001 From: Finagolfin Date: Fri, 5 Jul 2024 00:04:02 +0530 Subject: [PATCH] Import Bionic module that's part of the new Android overlay --- Sources/Yams/Representer.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Sources/Yams/Representer.swift b/Sources/Yams/Representer.swift index a749c523..f91dbf9c 100644 --- a/Sources/Yams/Representer.swift +++ b/Sources/Yams/Representer.swift @@ -14,6 +14,10 @@ private let cpow: (_: Double, _: Double) -> Double = Darwin.pow #elseif os(Windows) import ucrt private let cpow: (_: Double, _: Double) -> Double = ucrt.pow +#elseif canImport(Bionic) +import CoreFoundation +import Bionic +private let cpow: (_: Double, _: Double) -> Double = Bionic.pow #else import CoreFoundation import Glibc