File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ int Environment::InitializeInspector(
233233
234234 return 0 ;
235235}
236- #endif // HAVE_INSPECTOR && NODE_USE_V8_PLATFORM
236+ #endif // HAVE_INSPECTOR
237237
238238#define ATOMIC_WAIT_EVENTS (V ) \
239239 V (kStartWait , " started" ) \
@@ -1069,11 +1069,14 @@ InitializationResult InitializeOncePerProcess(int argc, char** argv) {
10691069 V8::SetEntropySource (crypto::EntropySource);
10701070#endif // HAVE_OPENSSL
10711071
1072+ #if NODE_USE_V8_PLATFORM
10721073 per_process::v8_platform.Initialize (
10731074 static_cast <int >(per_process::cli_options->v8_thread_pool_size ));
10741075 V8::Initialize ();
10751076 performance::performance_v8_start = PERFORMANCE_NOW ();
10761077 per_process::v8_initialized = true ;
1078+ #endif
1079+
10771080 return result;
10781081}
10791082
You can’t perform that action at this time.
0 commit comments