diff options
| author | Bernard Xiong <[email protected]> | 2018-09-23 12:08:44 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2018-09-23 12:08:44 +0800 |
| commit | b98a0ba804f388f531106ff9602eb22ee66fe751 (patch) | |
| tree | a132d93019f1d6d0ac77c2c34b44ad78f757b134 /include/rtthread.h | |
| parent | cf13f84c61c9a38458df0fb9c3ed81679e560ba1 (diff) | |
[Kernel] Add ARMCC 6.x support.
Diffstat (limited to 'include/rtthread.h')
| -rw-r--r-- | include/rtthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtthread.h b/include/rtthread.h index 82d975d648..f8da2d46bf 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -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 |
