Skip to content

Commit f03edd6

Browse files
authored
Migrate to dispatch queue on macos (#364)
1 parent 63b616e commit f03edd6

4 files changed

Lines changed: 3 additions & 7 deletions

File tree

Package.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,8 @@ var cSettingsIO = cSettings
178178
awsCIoPlatformExcludes.append("source/s2n")
179179
cSettingsIO.append(.define("__APPLE__"))
180180
cSettingsIO.append(.define("AWS_ENABLE_DISPATCH_QUEUE"))
181-
cSettingsIO.append(.define("AWS_USE_SECITEM", .when(platforms: [.iOS, .tvOS])))
182-
cSettingsIO.append(.define("AWS_ENABLE_KQUEUE", .when(platforms: [.macOS])))
183181
swiftTestSettings.append(.define("__APPLE__"))
184182
swiftTestSettings.append(.define("AWS_ENABLE_DISPATCH_QUEUE"))
185-
swiftTestSettings.append(.define("AWS_USE_SECITEM", .when(platforms: [.iOS, .tvOS])))
186-
swiftTestSettings.append(.define("AWS_ENABLE_KQUEUE", .when(platforms: [.macOS])))
187183
#endif
188184

189185
//////////////////////////////////////////////////////////////////////

Test/AwsCommonRuntimeKitTests/io/TLSContextTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class TLSContextTests: XCBaseTestCase {
4747
}
4848
#endif
4949

50-
#if AWS_USE_SECITEM
50+
#if os(macOS) || os(iOS)
5151
func testCreateTlsContextWithSecitemOptions() throws {
5252
try skipIfPlatformDoesntSupportTLS()
5353
let certPath = try getEnvironmentVarOrSkipTest(

0 commit comments

Comments
 (0)