cmake/Source/cm_sys_stat.h

20 lines
434 B
C
Raw Normal View History

2017-07-20 19:35:53 +02:00
/* 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
2018-01-26 17:06:56 +01:00
#if defined(WIN32)
typedef unsigned short uid_t;
typedef unsigned short gid_t;
#endif
2017-07-20 19:35:53 +02:00
#include <sys/types.h>
// include sys/stat.h after sys/types.h
#include <sys/stat.h>
#endif