bdd663a33f
目前基本功能已经可以在QEMU上跑起来,但是pthread和内核signal选中会报冲突。先合并一版本,后续解决这些问题。
21 lines
342 B
C
21 lines
342 B
C
/*
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
* 2022-11-18 Meco Man first version
|
|
*/
|
|
|
|
#include <rtthread.h>
|
|
|
|
int *__errno_location(void)
|
|
{
|
|
return _rt_errno();
|
|
}
|
|
int *___errno_location(void)
|
|
{
|
|
return _rt_errno();
|
|
}
|