From 35f90bf594c9834e62372463af0fce5a08a20bbd Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Sun, 1 Dec 2024 22:46:35 +0000 Subject: [PATCH] x --- Sources/SwiftOCA/OCP.1/Ocp1Connection+Connect.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/SwiftOCA/OCP.1/Ocp1Connection+Connect.swift b/Sources/SwiftOCA/OCP.1/Ocp1Connection+Connect.swift index 383f6df..972198f 100644 --- a/Sources/SwiftOCA/OCP.1/Ocp1Connection+Connect.swift +++ b/Sources/SwiftOCA/OCP.1/Ocp1Connection+Connect.swift @@ -288,7 +288,9 @@ extension Ocp1Connection { } public var currentConnectionState: Ocp1ConnectionState { +#if canImport(Darwin) access(keyPath: \.currentConnectionState) +#endif return _connectionState.value }