[DFS] Use the win32 stat structure if using MS VC++ compiler.
This commit is contained in:
parent
d859e3e8b8
commit
e5edc5b09a
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue