You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jo...@apache.org on 2016/01/29 08:45:27 UTC
[3/3] mesos git commit: Windows: Added O_SYNC flag to windows.hpp.
Windows: Added O_SYNC flag to windows.hpp.
Review: https://reviews.apache.org/r/41654/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/7821f902
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/7821f902
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/7821f902
Branch: refs/heads/master
Commit: 7821f902c70f42196394b280bbcbb2988ad01a9d
Parents: 438fc44
Author: Alex Naparu <al...@outlook.com>
Authored: Thu Jan 28 23:30:45 2016 -0800
Committer: Joris Van Remoortere <jo...@gmail.com>
Committed: Thu Jan 28 23:45:00 2016 -0800
----------------------------------------------------------------------
3rdparty/libprocess/3rdparty/stout/include/stout/windows.hpp | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/7821f902/3rdparty/libprocess/3rdparty/stout/include/stout/windows.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/windows.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/windows.hpp
index 498530d..d3ba0b4 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/windows.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/windows.hpp
@@ -299,6 +299,10 @@ const mode_t S_ISGID = 0x04000000; // No-op.
const mode_t S_ISVTX = 0x02000000; // No-op.
+// Flags not supported by Windows.
+const mode_t O_SYNC = 0x00000000; // No-op.
+
+
inline auto strerror_r(int errnum, char* buffer, size_t length) ->
decltype(strerror_s(buffer, length, errnum))
{