diff --git a/src/node.cc b/src/node.cc index 32273319348b70..eb9d3b6cc85b44 100644 --- a/src/node.cc +++ b/src/node.cc @@ -220,8 +220,9 @@ static struct { void Initialize(int thread_pool_size) {} void PumpMessageLoop(Isolate* isolate) {} void Dispose() {} - void StartInspector(Environment *env, int port, bool wait) { + bool StartInspector(Environment *env, int port, bool wait) { env->ThrowError("Node compiled with NODE_USE_V8_PLATFORM=0"); + return false; // make compiler happy } #endif // !NODE_USE_V8_PLATFORM } v8_platform;