blob: 6e94c5b787c9d686afd5a57d5f576aa18d95b551 (
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-06-05 19:03:00 UTC
+++ base/sys_info_posix.cc
@@ -35,7 +35,7 @@
namespace {
-#if !defined(OS_OPENBSD)
+#if !defined(OS_BSD)
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 @@ bool GetDiskSpaceInfo(const base::FilePath& path,
namespace base {
-#if !defined(OS_OPENBSD)
+#if !defined(OS_BSD)
int SysInfo::NumberOfProcessors() {
return g_lazy_number_of_processors.Get().value();
}
|