summaryrefslogtreecommitdiff
path: root/src/node_constants.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_constants.cc')
-rw-r--r--src/node_constants.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/node_constants.cc b/src/node_constants.cc
index 45840d8653..86fa544d19 100644
--- a/src/node_constants.cc
+++ b/src/node_constants.cc
@@ -1107,6 +1107,22 @@ void DefineSystemConstants(Handle<Object> target) {
#ifdef S_IXOTH
NODE_DEFINE_CONSTANT(target, S_IXOTH);
#endif
+
+#ifdef F_OK
+ NODE_DEFINE_CONSTANT(target, F_OK);
+#endif
+
+#ifdef R_OK
+ NODE_DEFINE_CONSTANT(target, R_OK);
+#endif
+
+#ifdef W_OK
+ NODE_DEFINE_CONSTANT(target, W_OK);
+#endif
+
+#ifdef X_OK
+ NODE_DEFINE_CONSTANT(target, X_OK);
+#endif
}
void DefineUVConstants(Handle<Object> target) {