mirror of
https://github.com/reactos/CMake.git
synced 2024-12-03 00:57:25 +00:00
a1ddf2d0ba
Automate the conversion with perl -i -0pe 's/typedef ([^;]*) ([^ ]+);/using $2 = $1;/g' then manually fix a few places.
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)
|
|
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
|