File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Sources/Testing/ExitTests Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -679,7 +679,7 @@ extension ExitTest {
679679 Environment . setVariable ( nil , named: name)
680680
681681 var fd : CInt ?
682- #if SWT_TARGET_OS_APPLE || os(Linux) || os(FreeBSD) || os(OpenBSD)
682+ #if SWT_TARGET_OS_APPLE || os(Linux) || os(FreeBSD) || os(OpenBSD) || os(Android)
683683 fd = CInt ( environmentVariable)
684684#elseif os(Windows)
685685 if let handle = UInt ( environmentVariable) . flatMap ( HANDLE . init ( bitPattern: ) ) {
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ func spawnExecutable(
8888 }
8989#endif
9090
91- #if SWT_TARGET_OS_APPLE || os(Linux) || os(FreeBSD) || os(OpenBSD)
91+ #if SWT_TARGET_OS_APPLE || os(Linux) || os(FreeBSD) || os(OpenBSD) || os(Android)
9292 return try withUnsafeTemporaryAllocation ( of: P< posix_spawn_file_actions_t> . self , capacity: 1 ) { fileActions in
9393 let fileActionsInitialized = posix_spawn_file_actions_init ( fileActions. baseAddress!)
9494 let fileActions = asArgument ( fileActions)
You can’t perform that action at this time.
0 commit comments