diff --git a/Sources/Yams/Representer.swift b/Sources/Yams/Representer.swift index a749c523..c7715f8d 100644 --- a/Sources/Yams/Representer.swift +++ b/Sources/Yams/Representer.swift @@ -8,7 +8,7 @@ import Foundation -#if os(iOS) || os(macOS) || os(watchOS) || os(tvOS) +#if os(iOS) || os(macOS) || os(watchOS) || os(tvOS) || os(visionOS) import Darwin private let cpow: (_: Double, _: Double) -> Double = Darwin.pow #elseif os(Windows)