From: Otavio Salvador Subject: [PATCH] endianness check is OS wide and not specific to libc Upstream-Status: Accepted [https://cgit.freedesktop.org/mesa/mesa/commit/?id=cbee1bfb34274668a05995b9d4c78ddec9e5ea4c] Signed-off-by: Khem Raj Signed-off-by: Jussi Kukkonen Signed-off-by: Otavio Salvador --- src/util/u_endian.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/u_endian.h b/src/util/u_endian.h index 9e09f80181..3148033fae 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__) +#if defined(__linux__) #include #if __BYTE_ORDER == __LITTLE_ENDIAN -- 2.15.1