File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
_TestingInternals/include Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,9 @@ func spawnExecutable(
7474) throws -> ProcessID {
7575 // Darwin and Linux differ in their optionality for the posix_spawn types we
7676 // use, so use this typealias to paper over the differences.
77- #if SWT_TARGET_OS_APPLE || os(FreeBSD) || os(OpenBSD)
77+ #if SWT_TARGET_OS_APPLE || os(FreeBSD) || os(OpenBSD) || os(Android)
7878 typealias P < T> = T ?
79- #elseif os(Linux) || os(Android)
79+ #elseif os(Linux)
8080 typealias P < T> = T
8181#endif
8282
Original file line number Diff line number Diff line change @@ -126,7 +126,6 @@ static char *_Nullable *_Null_unspecified swt_environ(void) {
126126}
127127#endif
128128
129- #if !defined(__ANDROID__ )
130129#if __has_include (< signal .h > ) && defined(si_pid )
131130/// Get the value of the `si_pid` field of a `siginfo_t` structure.
132131///
@@ -150,7 +149,6 @@ static int swt_siginfo_t_si_status(const siginfo_t *siginfo) {
150149 return siginfo -> si_status ;
151150}
152151#endif
153- #endif
154152
155153/// Get the value of `EEXIST`.
156154///
You can’t perform that action at this time.
0 commit comments