From 8997f9cd1a59f04fbb8c7b590295a9f38c548744 Mon Sep 17 00:00:00 2001 From: Chih-Hsuan Yen Date: Mon, 29 Jan 2018 17:50:35 +0800 Subject: bpo-32705: Current Android does not have posix_spawn (#5413) --- Modules/posixmodule.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 4c0392e..8b11e98 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -176,7 +176,14 @@ corresponding Unix manual entries for more information on calls."); #else /* Unix functions that the configure script doesn't check for */ #define HAVE_EXECV 1 +/* bpo-32705: Current Android does not have posix_spawn + * Most likely posix_spawn will be available in next Android version (Android + * P, API 28). Need revisit then. See + * https://android-review.googlesource.com/c/platform/bionic/+/504842 + **/ +#ifndef __ANDROID__ #define HAVE_POSIX_SPAWN 1 +#endif #define HAVE_FORK 1 #if defined(__USLC__) && defined(__SCO_VERSION__) /* SCO UDK Compiler */ #define HAVE_FORK1 1 -- cgit v0.12