diff options
| author | prife <[email protected]> | 2013-02-26 16:23:28 +0800 |
|---|---|---|
| committer | prife <[email protected]> | 2013-02-26 16:23:28 +0800 |
| commit | 9f355875d866f4b95798955efc6b3eff76ecc337 (patch) | |
| tree | 04880184f4d526a2b10946c97baf3ba7c1856268 /bsp/simulator | |
| parent | 9ccdf4172ee0fc3e7fe8ac0db122a81572e9c0f8 (diff) | |
mingw support for simulator: dfs/fatfs
Diffstat (limited to 'bsp/simulator')
| -rwxr-xr-x | bsp/simulator/rtconfig.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bsp/simulator/rtconfig.h b/bsp/simulator/rtconfig.h index 470d0af066..81e8c0d9d7 100755 --- a/bsp/simulator/rtconfig.h +++ b/bsp/simulator/rtconfig.h @@ -21,6 +21,10 @@ #elif defined(__GNUC__) #define RT_USING_NOLIBC + +#if defined(__MINGW32__) +#define _NO_OLDNAMES /* to ignore: mode_t in sys/type.h */ +#endif #endif /* SECTION: basic kernel options */ @@ -108,7 +112,7 @@ #define FINSH_USING_DESCRIPTION /* SECTION: device file system */ -/* #define RT_USING_DFS */ +#define RT_USING_DFS #define DFS_FILESYSTEM_TYPES_MAX 8 /* DFS: ELM FATFS options */ |
