[Kernel] Add ARMCC 6.x support.

This commit is contained in:
Bernard Xiong
2018-09-23 12:08:44 +08:00
parent cf13f84c61
commit b98a0ba804
12 changed files with 40 additions and 20 deletions
+1 -1
View File
@@ -501,7 +501,7 @@ rt_int32_t rt_strncmp(const char *cs, const char *ct, rt_ubase_t count);
rt_int32_t rt_strcmp(const char *cs, const char *ct);
rt_size_t rt_strlen(const char *src);
char *rt_strdup(const char *s);
#ifdef __CC_ARM
#if defined(__CC_ARM) || defined(__CLANG_ARM)
/* leak strdup interface */
char* strdup(const char* str);
#endif