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.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/node_constants.cc b/src/node_constants.cc
index 2aea278cb..863a7c6ed 100644
--- a/src/node_constants.cc
+++ b/src/node_constants.cc
@@ -110,6 +110,10 @@ void DefineConstants(Handle<Object> target) {
NODE_DEFINE_CONSTANT(target, O_DIRECT);
#endif
+#ifdef O_NONBLOCK
+ NODE_DEFINE_CONSTANT(target, O_NONBLOCK);
+#endif
+
#ifdef S_IRWXU
NODE_DEFINE_CONSTANT(target, S_IRWXU);
#endif