ports/www/deno/files/patch-v8_src_base_cpu.cc
2024-10-11 16:56:00 +02:00

18 lines
465 B
C++

--- cargo-crates/v8-0.106.0/v8/src/base/cpu.cc.orig 2020-06-26 16:28:04 UTC
+++ cargo-crates/v8-0.106.0/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