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: nodejs#26380
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
  • Loading branch information
nitsakh authored and BridgeAR committed Mar 12, 2019
1 parent 93ef1e3 commit 44ef6b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_v8_platform-inl.h
Original file line number Diff line number Diff line change
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 44ef6b0

Please sign in to comment.