From c7f1dd74705a736e712cf5ee080f8315506a090f Mon Sep 17 00:00:00 2001 From: Tim De Jong Date: Sun, 12 Oct 2025 17:02:54 +0200 Subject: [PATCH] Fixed import in CGFloatTests.swift to work under non-Darwin platforms. --- Tests/GRDBTests/CGFloatTests.swift | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Tests/GRDBTests/CGFloatTests.swift b/Tests/GRDBTests/CGFloatTests.swift index 1bcfaaa58..3e0bd21c8 100644 --- a/Tests/GRDBTests/CGFloatTests.swift +++ b/Tests/GRDBTests/CGFloatTests.swift @@ -1,7 +1,12 @@ import XCTest -import CoreGraphics import GRDB +#if canImport(CoreGraphics) +import CoreGraphics +#elseif !os(Darwin) +import Foundation +#endif + class CGFloatTests: GRDBTestCase { func testCGFLoat() throws {