summaryrefslogtreecommitdiff
path: root/src/node_constants.cc
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-03-29 16:34:05 -0700
committerisaacs <i@izs.me>2011-04-20 16:04:39 -0700
commit3935adced09cd557a836d00558b52d777b9a20a2 (patch)
tree68fa452997b720af99c28aa844b84062242736b5 /src/node_constants.cc
parent5cfac218526d5d2ca7983247c2e06a4793253178 (diff)
downloadnode-new-3935adced09cd557a836d00558b52d777b9a20a2.tar.gz
GH-853 fs.lchown and fs.lchmod
Diffstat (limited to 'src/node_constants.cc')
-rw-r--r--src/node_constants.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/node_constants.cc b/src/node_constants.cc
index 7d316ff107..1d14fcc60b 100644
--- a/src/node_constants.cc
+++ b/src/node_constants.cc
@@ -103,6 +103,11 @@ void DefineConstants(Handle<Object> target) {
NODE_DEFINE_CONSTANT(target, O_SYNC);
#endif
+#ifdef O_SYMLINK
+ NODE_DEFINE_CONSTANT(target, O_SYMLINK);
+#endif
+
+
#ifdef S_IRWXU
NODE_DEFINE_CONSTANT(target, S_IRWXU);
#endif