aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_location__unittest.cc
blob: 72a479368ddbe97a68b055295edae2cdf74a4b10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- base/location_unittest.cc.orig	2020-11-13 06:36:34 UTC
+++ base/location_unittest.cc
@@ -32,7 +32,7 @@ TEST(LocationTest, CurrentYieldsCorrectValue) {
   EXPECT_EQ(here.line_number(), previous_line + 1);
   EXPECT_STREQ("TestBody", here.function_name());
 #endif
-#elif defined(OFFICIAL_BUILD)
+#elif defined(OFFICIAL_BUILD) && !defined(OS_BSD)
 #error Location builtins must be supported in official builds.
 #elif BUILDFLAG(FROM_HERE_USES_LOCATION_BUILTINS)
 #error FROM_HERE requires location builtins to be supported.