projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24be630
)
u_endian: add android to glibc clause
author
Dave Airlie
<airlied@redhat.com>
Mon, 12 Sep 2016 01:21:29 +0000
(11:21 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 13 Sep 2016 00:04:13 +0000
(10:04 +1000)
Tested-by: Mauro Rossi <issor.oruam@gmail.com>
src/util/u_endian.h
patch
|
blob
|
history
diff --git
a/src/util/u_endian.h
b/src/util/u_endian.h
index aae3e5a958fc1931da296caf07c96550c70c3fae..b9d563dd4353c34a206d13971d814fee7911dae2 100644
(file)
--- 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
def __GLIBC__
+#if
defined(__GLIBC__) || defined(ANDROID)
#include <endian.h>
#if __BYTE_ORDER == __LITTLE_ENDIAN