diff --git a/node-expat.cc b/node-expat.cc index c81d54b..abfde93 100644 --- a/node-expat.cc +++ b/node-expat.cc @@ -495,6 +495,6 @@ extern "C" { Parser::Initialize(target); } //Changed the name cause I couldn't load the module with - in their names - NODE_MODULE(node_expat, InitAll); + NAN_MODULE_WORKER_ENABLED(node_expat, InitAll); };