projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5408074
)
Fixed error in common.h for Android compilation introduced by e12cf1123e8784ce6fe9d2a...
author
buffer51
<paul.mustiere@gmail.com>
Fri, 4 Sep 2015 00:54:21 +0000
(20:54 -0400)
committer
buffer51
<paul.mustiere@gmail.com>
Fri, 4 Sep 2015 00:54:21 +0000
(20:54 -0400)
common.h
patch
|
blob
|
history
diff --git
a/common.h
b/common.h
index
a607c88
..
c367e38
100644
(file)
--- a/
common.h
+++ b/
common.h
@@
-413,8
+413,10
@@
typedef char* env_var_t;
#if !defined(RPCC_DEFINED) && !defined(OS_WINDOWS)
#ifdef _POSIX_MONOTONIC_CLOCK
-#if defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 17) // don't require -lrt
+#if defined(__GLIBC_PREREQ) // cut the if condition if two lines, otherwise will fail at __GLIBC_PREREQ(2, 17)
+#if __GLIBC_PREREQ(2, 17) // don't require -lrt
#define USE_MONOTONIC
+#endif
#elif defined(OS_ANDROID)
#define USE_MONOTONIC
#endif