mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
src: check if NODE_WANT_INTERNALS is defined
Otherwise a warning could be printed on some systems.
This fixes joyent/node#8419.
Cherry-picked-from: d87ae24dfe
This commit is contained in:
committed by
Bert Belder
parent
94190924bb
commit
e92dbf3af9
@@ -137,7 +137,7 @@ NODE_EXTERN v8::Handle<v8::Value> MakeCallback(
|
||||
|
||||
} // namespace node
|
||||
|
||||
#if NODE_WANT_INTERNALS
|
||||
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
|
||||
#include "node_internals.h"
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user