aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_sys__info__posix.cc
blob: cf5c6cdc46b5af196fb695a7181cbcd662407592 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- base/sys_info_posix.cc.orig	2017-07-25 21:04:48.000000000 +0200
+++ base/sys_info_posix.cc	2017-08-02 21:19:06.172695000 +0200
@@ -35,7 +35,7 @@
 
 namespace {
 
-#if !defined(OS_OPENBSD) && !defined(OS_FUCHSIA)
+#if !defined(OS_BSD) && !defined(OS_FUCHSIA)
 int NumberOfProcessors() {
   // sysconf returns the number of "logical" (not "physical") processors on both
   // Mac and Linux.  So we get the number of max available "logical" processors.
@@ -128,7 +128,7 @@
 
 namespace base {
 
-#if !defined(OS_OPENBSD) && !defined(OS_FUCHSIA)
+#if !defined(OS_BSD) && !defined(OS_FUCHSIA)
 int SysInfo::NumberOfProcessors() {
   return g_lazy_number_of_processors.Get().value();
 }