diff options
author | Elliott Hughes <enh@google.com> | 2019-11-03 08:30:33 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2019-11-03 08:30:33 -0800 |
commit | bcd810622bd075896edb4d8f289eb615270dd100 (patch) | |
tree | d92854ed70a0dbd2f325684f94e215c886e7d735 /libcutils/sockets_unix.cpp | |
parent | 46452100977f66956175793a9557b0263bb58e0b (diff) |
unzip: fix Mac build.
Turns out the Mac doesn't have <error.h>. Add our own "die" function
instead, and use it everywhere so the Mac isn't using an untested
codepath.
One upside to this is that we'll now call ourselves "unzip" even when
run as `ziptool unzip ...`, which was awkward to fix with <error.h> but
trivial if we're rolling our own anyway.
Test: still works on Linux
Change-Id: I9cb1922595a21cd9f6d55a70d67e30090f8b7f21
Diffstat (limited to 'libcutils/sockets_unix.cpp')
0 files changed, 0 insertions, 0 deletions