[DFS] Use the win32 stat structure if using MS VC++ compiler.

This commit is contained in:
Bernard Xiong 2015-10-11 15:39:07 +08:00
parent d859e3e8b8
commit e5edc5b09a
1 changed files with 4 additions and 0 deletions

View File

@ -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
{