mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 20:19:53 +00:00
5299141320
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.
20 lines
434 B
C
20 lines
434 B
C
/* 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)
|
|
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>
|
|
|
|
#endif
|