Skip to content

Commit 8997f9c

Browse files
Chih-Hsuan Yenvstinner
authored andcommitted
bpo-32705: Current Android does not have posix_spawn (#5413)
1 parent 2a3260b commit 8997f9c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎Modules/posixmodule.c‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,14 @@ corresponding Unix manual entries for more information on calls.");
176176
#else
177177
/* Unix functions that the configure script doesn't check for */
178178
#define HAVE_EXECV 1
179+
/* bpo-32705: Current Android does not have posix_spawn
180+
* Most likely posix_spawn will be available in next Android version (Android
181+
* P, API 28). Need revisit then. See
182+
* https://android-review.googlesource.com/c/platform/bionic/+/504842
183+
**/
184+
#ifndef __ANDROID__
179185
#define HAVE_POSIX_SPAWN 1
186+
#endif
180187
#define HAVE_FORK 1
181188
#if defined(__USLC__) && defined(__SCO_VERSION__) /* SCO UDK Compiler */
182189
#define HAVE_FORK1 1

0 commit comments

Comments
 (0)