Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Commit

Permalink
fix: build when NODE_USE_V8_PLATFORM is not defined
Browse files Browse the repository at this point in the history
This should go away once we are on the next node version which has this PR merged in nodejs/node#26380
  • Loading branch information
nitsakh committed Mar 1, 2019
1 parent 5ded304 commit 87adb79
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 87adb79

Please sign in to comment.