summaryrefslogtreecommitdiff
path: root/components/dfs/include
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-10-14 14:48:22 +0800
committerBernard Xiong <[email protected]>2015-10-14 14:48:22 +0800
commit402732ebb92f5b555aff1bf2b4e877007f528d54 (patch)
tree96ef6f2dcfc1e10e3a91cde98e31593ac60b3672 /components/dfs/include
parent369557a981ec0d4928357b62a7559d51d340a1d6 (diff)
parentc5fd1aaf5f89e6bcafc620c4dc7be5cb2f42d6d5 (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
Diffstat (limited to 'components/dfs/include')
-rw-r--r--components/dfs/include/dfs_def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/dfs/include/dfs_def.h b/components/dfs/include/dfs_def.h
index e509c4a3da..0f75a5162b 100644
--- a/components/dfs/include/dfs_def.h
+++ b/components/dfs/include/dfs_def.h
@@ -255,6 +255,9 @@
#define DFS_S_IWOTH 00002
#define DFS_S_IXOTH 00001
+#ifdef _MSC_VER
+#include <wchar.h>
+#else
struct stat
{
rt_device_t st_dev;
@@ -262,6 +265,7 @@ struct stat
rt_uint32_t st_size;
rt_time_t st_mtime;
};
+#endif
struct statfs
{