From 98e3810e8e0a16e110314ceb0d8aa6d914677775 Mon Sep 17 00:00:00 2001 From: ruralharry <103827197+ruralharry@users.noreply.github.com> Date: Tue, 9 Jul 2024 06:16:21 +0800 Subject: [PATCH] add os(visionOS) support (#418) --- Sources/Yams/Representer.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)