summaryrefslogtreecommitdiff
path: root/www-client/chromium/files/chromium-77-clang.patch
blob: a57b5a458a4da6ff12921277875c254669ba035d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/base/location.h b/base/location.h
index c07e747..924db1c 100644
--- a/base/location.h
+++ b/base/location.h
@@ -18,7 +18,7 @@
 
 namespace base {
 
-#if defined(__has_builtin)
+#if defined(__clang__)
 // Clang allows detection of these builtins.
 #define SUPPORTS_LOCATION_BUILTINS                                       \
   (__has_builtin(__builtin_FUNCTION) && __has_builtin(__builtin_FILE) && \