diff options
author | Tom Cherry <tomcherry@google.com> | 2020-03-12 09:37:05 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2020-03-13 14:12:46 -0700 |
commit | 1dc67f30151d5356dc834de12a3d6b1bb0d6a219 (patch) | |
tree | c247d14c4db3d2e752daf4effb50d8766301e2ae /trusty/coverage/coverage_test.cpp | |
parent | e4e0566e0268d13f6a23a87c946d235bd1fba57f (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)
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions