summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryFileTest.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2020-03-12 09:37:05 -0700
committerTom Cherry <tomcherry@google.com>2020-03-12 09:37:05 -0700
commit227ac5645450bca279735a2a0dbba77c24f5fbb4 (patch)
tree8ac69effa87e77e32159b23287a70a268011e553 /libunwindstack/tests/MemoryFileTest.cpp
parenta964a96ae73cd332084d1e80c5ccec6176ee17fa (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 Change-Id: I2e0bc055ac0c7ba8262875801cdaed9cc30d2cef
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions