diff options
author | Josh Gao <jmgao@google.com> | 2016-11-18 15:17:07 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2016-11-21 18:39:21 -0800 |
commit | 05a3abfef34b7b7b0f4358c15fe5410cc088aa03 (patch) | |
tree | 40783e4d095a03f8c94c95a779352efee07d4aa7 /libunwindstack/tests/MemoryFileTest.cpp | |
parent | b6552f376ca2903d987faa9b05808d72952af858 (diff) |
adb: make sure that file mode macros match linux.
We use <sys/stat.h> mode macros on the host to parse modes sent over
from the device, so they had better match. Add static_asserts to ensure
this.
(Also, fix the cases where they don't.)
Test: mma -j48, compiled the static_asserts on darwin manually
Change-Id: I883e4e6c7489ea64d3c02d26790ac8293366d989
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions