From 2297a2d9893667d3222139013de7398680ec6f1a Mon Sep 17 00:00:00 2001 From: buffer51 Date: Thu, 3 Sep 2015 20:54:21 -0400 Subject: [PATCH] Fixed error in common.h for Android compilation introduced by e12cf1123e8784ce6fe9d2ac14526331fbe2c555 --- common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common.h b/common.h index a607c88..c367e38 100644 --- 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 -- 2.7.4