Index: src/platform-openbsd.cc |
diff --git a/src/platform-openbsd.cc b/src/platform-openbsd.cc |
index f2d9dd48cb734a3cc6b1abdc05a1563e1235b839..f849d588240ac81beb952dd17b6c5f1567b5ac2c 100644 |
--- a/src/platform-openbsd.cc |
+++ b/src/platform-openbsd.cc |
@@ -79,7 +79,7 @@ static void* GetRandomMmapAddr() { |
// CpuFeatures::Probe. We don't care about randomization in this case because |
// the code page is immediately freed. |
if (isolate != NULL) { |
-#ifdef V8_TARGET_ARCH_X64 |
+#if V8_TARGET_ARCH_X64 |
uint64_t rnd1 = V8::RandomPrivate(isolate); |
uint64_t rnd2 = V8::RandomPrivate(isolate); |
uint64_t raw_addr = (rnd1 << 32) ^ rnd2; |
@@ -720,6 +720,7 @@ bool OpenBSDSemaphore::Wait(int timeout) { |
} |
} |
+ |
Semaphore* OS::CreateSemaphore(int count) { |
return new OpenBSDSemaphore(count); |
} |