OSDN Git Service

Fix some easy cases of __ANDROID__ versus __BIONIC__.
authorElliott Hughes <enh@google.com>
Sat, 17 Sep 2016 01:16:47 +0000 (18:16 -0700)
committerElliott Hughes <enh@google.com>
Sat, 17 Sep 2016 01:27:07 +0000 (18:27 -0700)
commita9209d7a0ee7ef40f9a14cab2b6756d7e6f8b919
tree7bfb6dd09e8ae5b353d512fde83d14053dedec06
parent56228373014e5ee0a3ff32930df9cfa05fef7389
Fix some easy cases of __ANDROID__ versus __BIONIC__.

We need to make a clearer distinction for bionic on the host. This patch
doesn't fully address things like "should host bionic try to talk to netd?"
for now, but is a step in the right direction.

Bug: http://b/31559095
Test: bionic tests.
Change-Id: I49812f8b75d9d78c4fd8a8ddf5df1201d63771d6
libc/dns/net/getaddrinfo.c
libc/dns/resolv/res_init.c
libc/stdio/refill.c
libc/tzcode/localtime.c
libc/tzcode/strftime.c
tests/sys_prctl_test.cpp