diff options
| author | Meco Man <[email protected]> | 2021-10-26 00:51:32 -0400 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-10-26 23:09:54 -0400 |
| commit | a9910a780edc43df6b64bcd13c37785a15ec3428 (patch) | |
| tree | 0402e433f252c5ded3472deb266616ee7a47e90f /components/dfs/src | |
| parent | 50bb6e33d13237f71812e81a6a13ba5ba0693c8f (diff) | |
[posix][libc] 优化libc中posix结构
Diffstat (limited to 'components/dfs/src')
| -rw-r--r-- | components/dfs/src/dfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/dfs/src/dfs.c b/components/dfs/src/dfs.c index fa93afd749..8cf642a2f9 100644 --- a/components/dfs/src/dfs.c +++ b/components/dfs/src/dfs.c @@ -18,7 +18,7 @@ #include <lwp.h> #endif -#ifdef RT_USING_LIBC +#ifdef RT_LIBC_USING_FILEIO #include <libc.h> #endif @@ -216,7 +216,7 @@ struct dfs_fd *fd_get(int fd) struct dfs_fd *d; struct dfs_fdtable *fdt; -#ifdef RT_USING_LIBC +#ifdef RT_LIBC_USING_FILEIO if ((0 <= fd) && (fd <= 2)) fd = libc_stdio_get_console(); #endif |
