This is an automated email from the ASF dual-hosted git repository.

gilbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit a7c59bf32b22b7ac63d33fea8f6fb7eddd15176d
Author: Qian Zhang <[email protected]>
AuthorDate: Wed Feb 27 22:22:15 2019 -0800

    Changed the definition of `uid_t` and `gid_t` to UNIT for Windows.
    
    This is to be consistent with other platforms. And we also need this
    change for https://reviews.apache.org/r/69479/, otherwise that patch
    cannot be compiled on Windows because we do not have a matched `parse`
    function for `int` in 3rdparty/stout/include/stout/flags/parse.hpp.
    
    Review: https://reviews.apache.org/r/69553/
---
 3rdparty/stout/include/stout/windows.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/3rdparty/stout/include/stout/windows.hpp 
b/3rdparty/stout/include/stout/windows.hpp
index 075ad54..b91d373 100644
--- a/3rdparty/stout/include/stout/windows.hpp
+++ b/3rdparty/stout/include/stout/windows.hpp
@@ -180,8 +180,8 @@ typedef int mode_t;
 // including functions like `OpenProcess`.
 typedef DWORD pid_t;
 
-typedef int uid_t;
-typedef int gid_t;
+typedef UINT uid_t;
+typedef UINT gid_t;
 
 typedef SSIZE_T ssize_t;
 

Reply via email to