diff options
| author | David Lin <[email protected]> | 2021-06-24 22:36:14 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-06-24 22:36:14 +0800 |
| commit | 6efca1d120aa64b5345e6a0801f23c3fa0e47db4 (patch) | |
| tree | 8644973a5c0d19072a19d8d7f8ebd63dfbbed408 /include/rtthread.h | |
| parent | 09b08cca8e5b8c728fb886abc866c22974527b6c (diff) | |
| parent | fcb0a47328a3178d02b3bc0a83bd9e84818e08b7 (diff) | |
Merge branch 'RT-Thread:master' into master
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 980c4771b3..0583ce6434 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -566,7 +566,7 @@ rt_size_t rt_strlen(const char *src); #endif /*RT_KSERVICE_USING_STDLIB*/ char *rt_strdup(const char *s); -#if defined(__CC_ARM) || defined(__CLANG_ARM) +#ifdef __ARMCC_VERSION /* lack strdup interface */ char* strdup(const char* str); #endif |
