summaryrefslogtreecommitdiff
path: root/www/deno/files/patch-cargo-crates_v8_v8_src_base_cpu.cc
blob: 6ad07a271a2bff7ff3d5463ee8b9d1901ef7b36e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- cargo-crates/v8-0.40.2/v8/src/base/cpu.cc.orig	2020-06-26 16:28:04 UTC
+++ cargo-crates/v8-0.40.2/v8/src/base/cpu.cc
@@ -475,6 +475,7 @@ CPU::CPU()
 
 #if V8_OS_LINUX
 
+#if V8_OS_LINUX
   CPUInfo cpu_info;
 
   // Extract implementor from the "CPU implementer" field.
@@ -508,6 +509,7 @@ CPU::CPU()
     }
     delete[] part;
   }
+#endif
 
   // Extract architecture from the "CPU Architecture" field.
   // The list is well-known, unlike the the output of