From b12911c88e89c693a526db74f9399ee72dff77e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tapani=20P=C3=A4lli?= Date: Tue, 12 Nov 2019 13:45:54 +0200 Subject: [PATCH] util/android: fix android build errors MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes: 9020f519 ("util/u_endian: Add error checks") Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2078 Signed-off-by: Tapani Pälli Reviewed-by: Kristian H. Kristensen --- 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 fb3eda42c5c..6bbae3c444c 100644 --- a/src/util/u_endian.h +++ b/src/util/u_endian.h @@ -73,7 +73,7 @@ # define UTIL_ARCH_BIG_ENDIAN 1 #endif -#elif defined(_WIN32) +#elif defined(_WIN32) || defined(ANDROID) #define UTIL_ARCH_LITTLE_ENDIAN 1 #define UTIL_ARCH_BIG_ENDIAN 0 -- 2.30.2