OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59a22b3
)
u_math.h: don't define lrint family functions on Android
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Wed, 21 Jan 2015 16:20:51 +0000
(
00:20
+0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 16 Jul 2015 13:48:42 +0000
(21:48 +0800)
Android bionic has defined these functions.
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
src/gallium/auxiliary/util/u_math.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_math.h
b/src/gallium/auxiliary/util/u_math.h
index
5db5b66
..
d03beca
100644
(file)
--- a/
src/gallium/auxiliary/util/u_math.h
+++ b/
src/gallium/auxiliary/util/u_math.h
@@
-150,7
+150,7
@@
roundf(float x)
#endif /* _MSC_VER */
-#if __STDC_VERSION__ < 199901L && (!defined(__cplusplus) || defined(_MSC_VER))
+#if __STDC_VERSION__ < 199901L &&
!defined(PIPE_OS_ANDROID) &&
(!defined(__cplusplus) || defined(_MSC_VER))
static INLINE long int
lrint(double d)
{