summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-v8_src_base_cpu.cc
blob: 90464f2308d7e6493e2d16cbd20e02aa46d84af6 (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-03-11 22:08:08 UTC
+++ v8/src/base/cpu.cc
@@ -424,6 +424,7 @@ CPU::CPU()
 
 #if V8_OS_LINUX
 
+#if V8_OS_LINUX
   CPUInfo cpu_info;
 
   // Extract implementor from the "CPU implementer" field.
@@ -457,6 +458,7 @@ CPU::CPU()
     }
     delete[] part;
   }
+#endif
 
   // Extract architecture from the "CPU Architecture" field.
   // The list is well-known, unlike the the output of