diff options
author | Nils Gladitz <nilsgladitz@gmail.com> | 2017-06-17 16:49:33 (GMT) |
---|---|---|
committer | Nils Gladitz <nilsgladitz@gmail.com> | 2017-06-28 17:55:12 (GMT) |
commit | 5299141320c7be96e9357ebd457c9a279308248a (patch) | |
tree | 9c487cff7beef693f711f6bd92ea96f3b9d918c2 /Source/cm_sys_stat.h | |
parent | 1363a0cbcef00cb9a49eba3b68283b5b6d1b95a5 (diff) | |
download | CMake-5299141320c7be96e9357ebd457c9a279308248a.zip CMake-5299141320c7be96e9357ebd457c9a279308248a.tar.gz CMake-5299141320c7be96e9357ebd457c9a279308248a.tar.bz2 |
CPackDeb: Enable the DEB generator on Windows
While some features require external Unix tools the
generator is mostly portable.
By enabling it on Windows it can be used for cross platform
packaging.
Diffstat (limited to 'Source/cm_sys_stat.h')
-rw-r--r-- | Source/cm_sys_stat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cm_sys_stat.h b/Source/cm_sys_stat.h index 26e4baa..796f027 100644 --- a/Source/cm_sys_stat.h +++ b/Source/cm_sys_stat.h @@ -7,6 +7,11 @@ typedef unsigned short mode_t; #endif +#if defined(WIN32) +typedef unsigned short uid_t; +typedef unsigned short gid_t; +#endif + #include <sys/types.h> // include sys/stat.h after sys/types.h #include <sys/stat.h> |