From: Tapani Pälli Date: Tue, 12 Nov 2019 11:45:54 +0000 (+0200) Subject: util/android: fix android build errors X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b12911c88e89c693a526db74f9399ee72dff77e7;p=mesa.git util/android: fix android build errors 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 --- 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