diff options
Diffstat (limited to 'base/os_compat_android.cc')
-rw-r--r-- | base/os_compat_android.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/base/os_compat_android.cc b/base/os_compat_android.cc index 2643dc3..ec221e4 100644 --- a/base/os_compat_android.cc +++ b/base/os_compat_android.cc @@ -75,7 +75,8 @@ time_t timegm(struct tm* const t) { // for each function would simply end up calling itself, resulting in a // runtime crash due to stack overflow. // -#if defined(__GNUC__) && !defined(__clang__) +#if defined(__GNUC__) && !defined(__clang__) && \ + !defined(ANDROID_SINCOS_PROVIDED) // For the record, Clang does not support the 'optimize' attribute. // In the unlikely event that it begins performing this optimization too, |