summaryrefslogtreecommitdiff
path: root/chromium/base/os_compat_android.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/base/os_compat_android.cc')
-rw-r--r--chromium/base/os_compat_android.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/base/os_compat_android.cc b/chromium/base/os_compat_android.cc
index 2643dc30e1e..ec221e480dc 100644
--- a/chromium/base/os_compat_android.cc
+++ b/chromium/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,