summaryrefslogtreecommitdiff
path: root/components/finsh/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/finsh/shell.c')
-rw-r--r--components/finsh/shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/finsh/shell.c b/components/finsh/shell.c
index 6f1133bf3b..c89139c0ed 100644
--- a/components/finsh/shell.c
+++ b/components/finsh/shell.c
@@ -97,7 +97,7 @@ int finsh_set_prompt(const char * prompt)
}
#endif /* RT_USING_HEAP */
-#if defined(RT_USING_DFS)
+#ifdef RT_USING_DFS
#include <dfs_posix.h>
#endif /* RT_USING_DFS */
@@ -817,7 +817,7 @@ int finsh_system_init(void)
rt_thread_t tid;
#ifdef FINSH_USING_SYMTAB
-#if defined(__CC_ARM) || defined(__CLANG_ARM) /* ARM C Compiler */
+#ifdef __ARMCC_VERSION /* ARM C Compiler */
extern const int FSymTab$$Base;
extern const int FSymTab$$Limit;
extern const int VSymTab$$Base;