summaryrefslogtreecommitdiffstats
path: root/src/util/u_endian.h
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2019-11-12 13:45:54 +0200
committerTapani Pälli <[email protected]>2019-11-13 12:31:31 +0200
commitb12911c88e89c693a526db74f9399ee72dff77e7 (patch)
tree77106532bf08e33f64337faecd37835873cad513 /src/util/u_endian.h
parent47ba227448577f61914f9ecd08b6a84e793ccfb4 (diff)
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 <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/util/u_endian.h')
-rw-r--r--src/util/u_endian.h2
1 files changed, 1 insertions, 1 deletions
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