diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2018-07-09 11:42:23 -0700 |
---|---|---|
committer | Pirama Arumuga Nainar <pirama@google.com> | 2018-07-09 12:03:23 -0700 |
commit | 6c0eab9c5bb1e84548e441a836d41729eb6bb2a1 (patch) | |
tree | d7432bc49f7321ad2c207c26c203d775609c2d8e /tests/stdio_test.cpp | |
parent | 57fe8130af8cb38a49192a1c4f0814fd71578f99 (diff) |
Include uchar.h only for bionic
Bug: http://b/111265772
uchar.h is not available in the glibc used for the host. Since Bionic's
stdatomic.h is also used for the host (via a copy in prebuilts/clang)
guard the include with a check for __BIONIC__.
Also replace the check for C11 around definition of
atomic_char_{16,32}_t with a check for __BIONIC__. While we're here,
check if __cplusplus is defined before checking its value. This avoids
a potential -Wundef warning.
Test: Build
Change-Id: Icb62150d978703175b78d8ad12b42cf98b424b9a
Diffstat (limited to 'tests/stdio_test.cpp')
0 files changed, 0 insertions, 0 deletions