diff options
author | Eric Engestrom <eric.engestrom@imgtec.com> | 2018-03-21 17:04:06 +0000 |
---|---|---|
committer | Eric Engestrom <eric.engestrom@imgtec.com> | 2018-03-23 11:44:21 +0000 |
commit | cbee1bfb34274668a05995b9d4c78ddec9e5ea4c (patch) | |
tree | dad1c9037de2c77cc57dd5c5c531169f7174798b /src/util/u_endian.h | |
parent | ee2b943fa85755fe2565f12c625e41cd08a826f9 (diff) |
meson/configure: detect endian.h instead of trying to guess when it's available
Cc: Maxin B. John <maxin.john@gmail.com>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Rob Herring <robh@kernel.org>
Suggested-by: Jon Turney <jon.turney@dronecode.org.uk>
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Cc: <mesa-stable@lists.freedesktop.org>
Diffstat (limited to 'src/util/u_endian.h')
-rw-r--r-- | src/util/u_endian.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/u_endian.h b/src/util/u_endian.h index 22d011ec008..e11b381588d 100644 --- a/src/util/u_endian.h +++ b/src/util/u_endian.h @@ -27,7 +27,7 @@ #ifndef U_ENDIAN_H #define U_ENDIAN_H -#if defined(__GLIBC__) || defined(ANDROID) || defined(__CYGWIN__) +#ifdef HAVE_ENDIAN_H #include <endian.h> #if __BYTE_ORDER == __LITTLE_ENDIAN |