diff options
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 985d3b3fbd..598596ce00 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_USING_POSIX) && defined(RT_USING_DEVICE) +#if !defined(RT_USING_LIBC) && defined(RT_USING_DEVICE) rt_device_t device; #endif |
