summaryrefslogtreecommitdiffstats
path: root/minadbd
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2014-11-11 09:22:15 -0800
committerYabin Cui <yabinc@google.com>2014-11-12 16:51:45 -0800
commit678f7d4a36eeae9a2c1bad6c861cecc2e5dab70c (patch)
tree38bae18a9d1681ecb0d848aa2bf30b512654a442 /minadbd
parentc7249660f908c74687b5fdadc1296eb9d4903cc7 (diff)
downloadbootable_recovery-678f7d4a36eeae9a2c1bad6c861cecc2e5dab70c.zip
bootable_recovery-678f7d4a36eeae9a2c1bad6c861cecc2e5dab70c.tar.gz
bootable_recovery-678f7d4a36eeae9a2c1bad6c861cecc2e5dab70c.tar.bz2
kill HAVE_FORKEXEC
Bug: 18317407 Change-Id: Idd4e0effa96752e2c0ca959728f80df4d2d34187
Diffstat (limited to 'minadbd')
-rw-r--r--minadbd/adb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/minadbd/adb.c b/minadbd/adb.c
index 127d072..0ac16e4 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