mirror of
https://github.com/hanzoai/node-dtrace-provider.git
synced 2026-09-23 23:48:45 +00:00
As of Node 0.9.1 use of NODE_MODULE in an extension is required.
We'd been getting away without a NODE_MODULE(...) declaration in this module, but in Node 0.9.1 the legacy "scan for init" mechanism went away. This change adds the required declaration, and the extension now builds on 0.9.1+.
This commit is contained in:
@@ -190,4 +190,5 @@ namespace node {
|
||||
DTraceProvider::Initialize(target);
|
||||
}
|
||||
|
||||
NODE_MODULE(DTraceProviderBindings, init)
|
||||
} // namespace node
|
||||
|
||||
Reference in New Issue
Block a user