commit | cfa5ff31944bf6ff8aff9ec0c95c7abc79e4eab2 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Aug 12 12:04:05 2019 -0700 |
committer | Elliott Hughes <enh@google.com> | Mon Aug 12 12:11:42 2019 -0700 |
tree | 2cb3109e781d0abca0dec72da8c7232fdb3af378 | |
parent | 66338578414b9126c3e31e816396c21b473ee06f [diff] |
Use as much of the macOS endian support as we can. Turns out that although there's no <endian.h> or <sys/endian.h>, there are <machine/endian.h> and <sys/_endian.h>, and they're included by other system headers such as <dirent.h>. Reuse the contents of <sys/_endian.h> here for better interop. Bug: http://b/139203733 Test: treehugger Change-Id: Ic0e9bfa1a5b56d05e9e542839d237b6ceae4aa8c