summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-v8_src_base_cpu.cc
blob: c11e6a384aa004744d584285422f2649c404fa59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- v8/src/base/cpu.cc.orig	2019-12-16 21:56:22 UTC
+++ v8/src/base/cpu.cc
@@ -422,6 +422,7 @@ CPU::CPU()
 
 #if V8_OS_LINUX
 
+#if V8_OS_LINUX
   CPUInfo cpu_info;
 
   // Extract implementor from the "CPU implementer" field.
@@ -455,6 +456,7 @@ CPU::CPU()
     }
     delete[] part;
   }
+#endif
 
   // Extract architecture from the "CPU Architecture" field.
   // The list is well-known, unlike the the output of