aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-components_optimization__guide_core_optimization__guide__util.cc
blob: 45efd8ec833a850b17815289cb51dc10353cad29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- components/optimization_guide/core/optimization_guide_util.cc.orig	2023-11-11 14:10:41 UTC
+++ components/optimization_guide/core/optimization_guide_util.cc
@@ -34,7 +34,7 @@ optimization_guide::proto::Platform GetPlatform() {
   return optimization_guide::proto::PLATFORM_CHROMEOS;
 #elif BUILDFLAG(IS_ANDROID)
   return optimization_guide::proto::PLATFORM_ANDROID;
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   return optimization_guide::proto::PLATFORM_LINUX;
 #else
   return optimization_guide::proto::PLATFORM_UNKNOWN;