From 7c486289b8d55ec0e746b15d7bc54088360d6654 Mon Sep 17 00:00:00 2001 From: Johan Kool Date: Sat, 2 Nov 2024 11:11:50 +0100 Subject: [PATCH] Compile for Android --- Sources/IssueReporting/Internal/Warn.swift | 2 +- Tests/XCTestDynamicOverlayTests/UnimplementedTests.swift | 2 +- Tests/XCTestDynamicOverlayTests/XCTContextTests.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/IssueReporting/Internal/Warn.swift b/Sources/IssueReporting/Internal/Warn.swift index 489ee3f6..5db6c65f 100644 --- a/Sources/IssueReporting/Internal/Warn.swift +++ b/Sources/IssueReporting/Internal/Warn.swift @@ -1,4 +1,4 @@ -#if os(Linux) +#if os(Linux) || os(Android) @preconcurrency import Foundation #else import Foundation diff --git a/Tests/XCTestDynamicOverlayTests/UnimplementedTests.swift b/Tests/XCTestDynamicOverlayTests/UnimplementedTests.swift index 60972641..0ff7130c 100644 --- a/Tests/XCTestDynamicOverlayTests/UnimplementedTests.swift +++ b/Tests/XCTestDynamicOverlayTests/UnimplementedTests.swift @@ -1,4 +1,4 @@ -#if !os(Linux) && !os(WASI) && !os(Windows) +#if !os(Linux) && !os(WASI) && !os(Windows) && !os(Android) import XCTest final class UnimplementedTests: XCTestCase { diff --git a/Tests/XCTestDynamicOverlayTests/XCTContextTests.swift b/Tests/XCTestDynamicOverlayTests/XCTContextTests.swift index adff60f4..724ab504 100644 --- a/Tests/XCTestDynamicOverlayTests/XCTContextTests.swift +++ b/Tests/XCTestDynamicOverlayTests/XCTContextTests.swift @@ -1,4 +1,4 @@ -#if !os(Linux) && !os(WASI) && !os(Windows) +#if !os(Linux) && !os(WASI) && !os(Windows) && !os(Android) import XCTest import XCTestDynamicOverlay