Skip to content

Commit

Permalink
add eventloop types to other platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
sbSteveK committed Oct 2, 2024
1 parent 54ff235 commit e19519a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,12 @@ awsCIoPlatformExcludes.append("source/posix")
awsCIoPlatformExcludes.append("source/linux")
awsCIoPlatformExcludes.append("source/s2n")
awsCIoPlatformExcludes.append("source/darwin")
cSettingsIO.append(.define("AWS_USE_IO_COMPLETION_PORTS"))
#elseif os(Linux)
awsCIoPlatformExcludes.append("source/windows")
awsCIoPlatformExcludes.append("source/bsd")
awsCIoPlatformExcludes.append("source/darwin")
cSettingsIO.append(.define("AWS_USE_EPOLL"))
#else // macOS, iOS, watchOS, tvOS
awsCIoPlatformExcludes.append("source/windows")
awsCIoPlatformExcludes.append("source/linux")
Expand Down
2 changes: 1 addition & 1 deletion aws-common-runtime/aws-c-io

0 comments on commit e19519a

Please sign in to comment.