From ba843cb84065bd9c7ab8a67351418b2406fcdc66 Mon Sep 17 00:00:00 2001 From: ruralharry Date: Tue, 28 May 2024 22:59:36 +0800 Subject: [PATCH] add os(visionOS) support --- 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)