summaryrefslogtreecommitdiff
path: root/src/env-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/env-inl.h')
-rw-r--r--src/env-inl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/env-inl.h b/src/env-inl.h
index 2c6248ae60..34f9bf7d72 100644
--- a/src/env-inl.h
+++ b/src/env-inl.h
@@ -1,6 +1,8 @@
#ifndef SRC_ENV_INL_H_
#define SRC_ENV_INL_H_
+#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
+
#include "env.h"
#include "node.h"
#include "util.h"
@@ -576,4 +578,6 @@ inline v8::Local<v8::Object> Environment::NewInternalFieldObject() {
} // namespace node
+#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
+
#endif // SRC_ENV_INL_H_