diff options
author | Craig Tiller <ctiller@google.com> | 2016-02-01 17:20:57 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-02-01 17:20:57 -0800 |
commit | 954e94655e82671208e6d01d9db5aeecda3f86d9 (patch) | |
tree | a2a644b0c7173fe199635a3e177e0c150a924046 /src/core/support | |
parent | f215f18f975825bed904485aa63c4195239dd03c (diff) |
Please *san
Diffstat (limited to 'src/core/support')
-rw-r--r-- | src/core/support/time_posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/support/time_posix.c b/src/core/support/time_posix.c index d68e5dc854..1f92d7f090 100644 --- a/src/core/support/time_posix.c +++ b/src/core/support/time_posix.c @@ -86,7 +86,7 @@ gpr_timespec gpr_now(gpr_clock_type clock_type) { gpr_precise_clock_now(&ret); return ret; } else { -#ifdef __linux__ +#if defined(__linux__) && !defined(GPR_NO_DIRECT_SYSCALLS) /* avoid ABI problems by invoking syscalls directly */ syscall(SYS_clock_gettime, clockid_for_gpr_clock[clock_type], &now); #else |