summaryrefslogtreecommitdiff
path: root/include/rtthread.h
diff options
context:
space:
mode:
authorMan, Jianting (Meco) <[email protected]>2022-10-25 00:01:37 -0400
committerGitHub <[email protected]>2022-10-25 00:01:37 -0400
commit055267f049b9236e7643ba06df660a929d55371d (patch)
tree5c51fd05b5015c85dad10ea79fdd383674ac510c /include/rtthread.h
parent7bc744dae91fcd245a23b2e5d24c92150bc8885b (diff)
[compiler] 增加SConscript依赖标志 AddDepend (#6534)
* [compiler] 增加SConscript依赖标志 AddDepend * RT_USING_NEWLIB->RT_USING_NEWLIBC RT_USING_ARM_LIBC->RT_USING_ARMLIBC * 删除过时的板载测试例程 * [gd32] 移除无用的反汇编文件 * [bsp]移除老旧bsp中对RT_USING_NEWLIBC的手动宏定义
Diffstat (limited to 'include/rtthread.h')
-rw-r--r--include/rtthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtthread.h b/include/rtthread.h
index c55720b7d1..bdd52e8fbb 100644
--- a/include/rtthread.h
+++ b/include/rtthread.h
@@ -593,7 +593,7 @@ rt_err_t rt_get_errno(void);
void rt_set_errno(rt_err_t no);
int *_rt_errno(void);
const char *rt_strerror(rt_err_t error);
-#if !defined(RT_USING_NEWLIB) && !defined(_WIN32)
+#if !defined(RT_USING_NEWLIBC) && !defined(_WIN32)
#ifndef errno
#define errno *_rt_errno()
#endif