diff options
Diffstat (limited to 'src/node_context_data.h')
-rw-r--r-- | src/node_context_data.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/node_context_data.h b/src/node_context_data.h index 3892b31354..61ab81523c 100644 --- a/src/node_context_data.h +++ b/src/node_context_data.h @@ -1,6 +1,8 @@ #ifndef SRC_NODE_CONTEXT_DATA_H_ #define SRC_NODE_CONTEXT_DATA_H_ +#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS + namespace node { // Pick an index that's hopefully out of the way when we're embedded inside @@ -37,4 +39,6 @@ enum ContextEmbedderIndex { } // namespace node +#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS + #endif // SRC_NODE_CONTEXT_DATA_H_ |