Mesa (master): u_endian: add android to glibc clause
Dave Airlie
airlied at kemper.freedesktop.org
Tue Sep 13 00:04:55 UTC 2016
Module: Mesa
Branch: master
Commit: 0fe9152868fd7429aca63c58a0930542b8a95219
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0fe9152868fd7429aca63c58a0930542b8a95219
Author: Dave Airlie <airlied at redhat.com>
Date: Mon Sep 12 11:21:29 2016 +1000
u_endian: add android to glibc clause
Tested-by: Mauro Rossi <issor.oruam at gmail.com>
---
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 aae3e5a..b9d563d 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
-#ifdef __GLIBC__
+#if defined(__GLIBC__) || defined(ANDROID)
#include <endian.h>
#if __BYTE_ORDER == __LITTLE_ENDIAN
More information about the mesa-commit
mailing list