From 10073c78578b04cc0abda4022b366ef0187576b1 Mon Sep 17 00:00:00 2001 From: Ben Smith Date: Tue, 18 Aug 2015 10:30:57 -0700 Subject: [PATCH] [d8] Fix compile failure due to kMaxWorkers TBR=adamk@chromium.org Review URL: https://codereview.chromium.org/1302593002 . Cr-Commit-Position: refs/heads/master@{#30231} --- src/d8.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/d8.cc b/src/d8.cc index 1b50855..58b59c8 100644 --- a/src/d8.cc +++ b/src/d8.cc @@ -75,7 +75,9 @@ namespace v8 { namespace { const int MB = 1024 * 1024; +#ifndef V8_SHARED const int kMaxWorkers = 50; +#endif class ShellArrayBufferAllocator : public v8::ArrayBuffer::Allocator { -- 2.7.4