diff options
| author | Colin Cross <ccross@android.com> | 2019-08-13 15:23:53 -0700 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2019-08-13 15:27:00 -0700 |
| commit | 888c1b9de5c6529e15f18401a55866a7e4a5c50a (patch) | |
| tree | 39448c3d7cda1780bc9d038a6113c93db349a2ab /libutils/ProcessCallStack_fuzz.cpp | |
| parent | 53620ca1b16f531dce7580212784f2e0935046b1 (diff) | |
Fix more endian.h issues
__BIONIC__ is defined in sys/cdefs.h, __GLIBC__ is defined in
features.h (which is included from sys/cdefs.h). If sys/cdefs.h
was not included before android-base/endian.h it was always falling
back to the Windows definitions.
mingw defines LITTLE_ENDIAN, BIG_ENDIAN and BYTE_ORDER in
sys/params.h, use those definitions to avoid conflicts.
glibc uses different names for letoh*, add compatibily #defines.
Test: m checkbuild
Change-Id: I0709a964cc8f20dd9fa4f03064cc67d97ae6c525
Diffstat (limited to 'libutils/ProcessCallStack_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions
