summaryrefslogtreecommitdiffstats
path: root/Source/cm_sys_stat.h
blob: d3b9ef22a02019b814bccfd086497e30b4071081 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
#ifndef cm_sys_stat_h
#define cm_sys_stat_h

#if defined(_MSC_VER)
using mode_t = unsigned short;
#endif

#if defined(WIN32)
using uid_t = unsigned short;
using gid_t = unsigned short;
#endif

#include <sys/types.h>
// include sys/stat.h after sys/types.h
#include <sys/stat.h>

#endif