From 190c3d9355e916e06a441a0afb06809e9f169ecb Mon Sep 17 00:00:00 2001 From: Finagolfin Date: Fri, 12 Jul 2024 17:04:03 +0530 Subject: [PATCH] Use Bionic module from new Android overlay in Swift 6 instead --- Tests/NIOHTTP2Tests/TestUtilities.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Tests/NIOHTTP2Tests/TestUtilities.swift b/Tests/NIOHTTP2Tests/TestUtilities.swift index 52c0bbe3..d09d3fb7 100644 --- a/Tests/NIOHTTP2Tests/TestUtilities.swift +++ b/Tests/NIOHTTP2Tests/TestUtilities.swift @@ -14,9 +14,10 @@ #if canImport(Darwin) import Darwin.C -#elseif os(Linux) || os(FreeBSD) || os(Android) +#elseif canImport(Glibc) import Glibc -#else +#elseif canImport(Bionic) +import Bionic #endif import XCTest