summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_time_time.cc
blob: 8809f2523e7cba169fc8a33a466f3afde17246b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- base/time/time.cc.orig	2021-09-24 04:25:56 UTC
+++ base/time/time.cc
@@ -4,12 +4,12 @@
 
 #include "base/time/time.h"
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
 // time.h is a widely included header and its size impacts build time.
 // Try not to raise this limit unless necessary. See
 // https://chromium.googlesource.com/chromium/src/+/HEAD/docs/wmax_tokens.md
 #pragma clang max_tokens_here 390000
-#endif  // defined(OS_LINUX)
+#endif  // defined(OS_LINUX) || defined(OS_BSD)
 
 #include <atomic>
 #include <cmath>