diff --git a/src/midi.cpp b/src/midi.cpp index d49fcc3..3dee53f 100644 --- a/src/midi.cpp +++ b/src/midi.cpp @@ -11,4 +11,4 @@ NAN_MODULE_INIT(InitAll) { NodeMidiInput::Init(target); } -NODE_MODULE(midi, InitAll) +NAN_MODULE_WORKER_ENABLED(midi, InitAll)