projects
/
platform
/
upstream
/
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
aae3e5a
..
b9d563d
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