diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-03-24 21:58:25 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-03-24 21:58:25 (GMT) |
commit | e9fc7ff5052f3ab40c2b39ba653506c5346d4582 (patch) | |
tree | 7f659b0634c32c40ba4dc1de459dbe4ced0484ad /Source/cm_sys_stat.h | |
parent | 3142808f15b0dabca8a5d66535c3f795ed470bac (diff) | |
download | CMake-e9fc7ff5052f3ab40c2b39ba653506c5346d4582.zip CMake-e9fc7ff5052f3ab40c2b39ba653506c5346d4582.tar.gz CMake-e9fc7ff5052f3ab40c2b39ba653506c5346d4582.tar.bz2 |
Add self-sufficient wrapper for <sys/stat.h>
Diffstat (limited to 'Source/cm_sys_stat.h')
-rw-r--r-- | Source/cm_sys_stat.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/cm_sys_stat.h b/Source/cm_sys_stat.h new file mode 100644 index 0000000..26e4baa --- /dev/null +++ b/Source/cm_sys_stat.h @@ -0,0 +1,14 @@ +/* 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 + +#include <sys/types.h> +// include sys/stat.h after sys/types.h +#include <sys/stat.h> + +#endif |