aboutsummaryrefslogtreecommitdiff
path: root/lang/v8/files/patch-src_base_cpu.cc
blob: 65f51266f753066f54b2c1f40f5963fc3c4f1d70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- src/base/cpu.cc.orig	2021-04-22 15:00:28 UTC
+++ src/base/cpu.cc
@@ -545,6 +545,7 @@ CPU::CPU()
 
 #if V8_OS_LINUX
 
+#if V8_OS_LINUX
   CPUInfo cpu_info;
 
   // Extract implementor from the "CPU implementer" field.
@@ -578,6 +579,7 @@ CPU::CPU()
     }
     delete[] part;
   }
+#endif
 
   // Extract architecture from the "CPU Architecture" field.
   // The list is well-known, unlike the the output of