diff options
| author | Meco Man <[email protected]> | 2021-10-27 02:52:04 -0400 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-10-27 03:04:05 -0400 |
| commit | 25bd908fb7ea04e0e9218597b10f75814bf77a4f (patch) | |
| tree | ef436b820dcc00cdc46ae24a86d86e654ae60896 /components/finsh/shell.h | |
| parent | 4d256eb308f4e9f7abc1644dda3fd675e560d518 (diff) | |
[libc][posix] 解决RT_LIBC_USING_FILEIO范围过大的问题
Diffstat (limited to 'components/finsh/shell.h')
| -rw-r--r-- | components/finsh/shell.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/finsh/shell.h b/components/finsh/shell.h index 6082c77fd5..985d3b3fbd 100644 --- a/components/finsh/shell.h +++ b/components/finsh/shell.h @@ -78,7 +78,7 @@ struct finsh_shell rt_uint16_t line_position; rt_uint16_t line_curpos; -#if !defined(RT_LIBC_USING_FILEIO) && defined(RT_USING_DEVICE) +#if !defined(RT_USING_POSIX) && defined(RT_USING_DEVICE) rt_device_t device; #endif |
