Skip to content

Commit

Permalink
src: fix build when NODE_USE_V8_PLATFORM is not defined
Browse files Browse the repository at this point in the history
PR-URL: #26380
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Refael Ackermann <refack@gmail.com>
  • Loading branch information
nitsakh authored and refack committed Mar 6, 2019
1 parent 3c83f93 commit 617f055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_v8_platform-inl.h
Expand Up @@ -149,7 +149,7 @@ struct V8Platform {
inline void DrainVMTasks(v8::Isolate* isolate) {}
inline void CancelVMTasks(v8::Isolate* isolate) {}
inline void StartTracingAgent() {
if (!trace_enabled_categories.empty()) {
if (!per_process::cli_options->trace_event_categories.empty()) {
fprintf(stderr,
"Node compiled with NODE_USE_V8_PLATFORM=0, "
"so event tracing is not available.\n");
Expand Down

0 comments on commit 617f055

Please sign in to comment.