commit | b73db54f2217f423612ec887f5c105e81e8d1570 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Thu Mar 12 09:37:05 2020 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Fri Mar 13 14:12:46 2020 -0700 |
tree | f7f9c42cbfee0a7c4364b149c3734c1091e1db2f | |
parent | eefddecac1fcdbc5b6d92c08990e061d355c4f78 [diff] |
liblog: fix header guards ordering __ANDROID_API__ isn't defined on host, so this check will fail due to -Wundef. The || is short circuited through, so we can check for host first and only have the right side of the || evaluated for device builds. Bug: 150898477 Bug: 151255209 Test: build Merged-In: I2e0bc055ac0c7ba8262875801cdaed9cc30d2cef Change-Id: I2e0bc055ac0c7ba8262875801cdaed9cc30d2cef (cherry picked from commit 227ac5645450bca279735a2a0dbba77c24f5fbb4)