Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Räsänen <jussir@gmail.com>2017-09-16 00:08:11 +0300
committerTobias Nießen <tniessen@tnie.de>2017-09-22 03:47:45 +0300
commit60460bf80dbba313759b0c6f73f8c17831b17e11 (patch)
tree89eec025a6df79ed8df77d0da41fb6efa98bc075 /src/node_constants.cc
parent66e45b821a3f70cfde7c6e2feda7e17a8607ae9c (diff)
fs: add O_DSYNC
PR-URL: https://github.com/nodejs/node/pull/15451 Fixes: https://github.com/nodejs/node/issues/15425 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
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 7fd303dd32f..787f44a1f16 100644
--- a/src/node_constants.cc
+++ b/src/node_constants.cc
@@ -1089,6 +1089,11 @@ void DefineSystemConstants(Local<Object> target) {
NODE_DEFINE_CONSTANT(target, O_SYNC);
#endif
+#ifdef O_DSYNC
+ NODE_DEFINE_CONSTANT(target, O_DSYNC);
+#endif
+
+
#ifdef O_SYMLINK
NODE_DEFINE_CONSTANT(target, O_SYMLINK);
#endif