From 678f7d4a36eeae9a2c1bad6c861cecc2e5dab70c Mon Sep 17 00:00:00 2001 From: Yabin Cui Date: Tue, 11 Nov 2014 09:22:15 -0800 Subject: [PATCH] kill HAVE_FORKEXEC Bug: 18317407 Change-Id: Idd4e0effa96752e2c0ca959728f80df4d2d34187 --- minadbd/adb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minadbd/adb.c b/minadbd/adb.c index 127d072b..0ac16e4d 100644 --- a/minadbd/adb.c +++ b/minadbd/adb.c @@ -379,7 +379,7 @@ static void adb_cleanup(void) int adb_main() { atexit(adb_cleanup); -#if defined(HAVE_FORKEXEC) +#if !defined(_WIN32) // No SIGCHLD. Let the service subproc handle its children. signal(SIGPIPE, SIG_IGN); #endif