Skip to content

Commit

Permalink
lint error and differetiate between macOS and iOS/tvOS
Browse files Browse the repository at this point in the history
  • Loading branch information
sbSteveK committed Oct 2, 2024
1 parent e19519a commit b338b5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ cSettingsIO.append(.define("AWS_USE_EPOLL"))
awsCIoPlatformExcludes.append("source/windows")
awsCIoPlatformExcludes.append("source/linux")
awsCIoPlatformExcludes.append("source/s2n")
#if os(macOS)
cSettingsIO.append(.define("AWS_USE_KQUEUE"))
#else // iOS, tvOS
cSettingsIO.append(.define("AWS_USE_DISPATCH_QUEUE"))
cSettingsIO.append(.define("AWS_USE_SECITEM"))
#endif
Expand Down
2 changes: 1 addition & 1 deletion Source/AwsCommonRuntimeKit/io/TLSSecitemOptions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import AwsCIo

public class TLSSecitemOptions : CStruct {
public class TLSSecitemOptions: CStruct {
var rawValue: UnsafeMutablePointer<aws_secitem_options>

public init(
Expand Down

0 comments on commit b338b5d

Please sign in to comment.