提交 b886a19b 编写于 作者: B bernard.xiong@gmail.com

fixed errno issue when using newlib.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1729 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 8e8b84dc
......@@ -25,12 +25,9 @@
*/
/*@{*/
#ifndef RT_USING_NEWLIB
/* global errno in RT-Thread */
static volatile int _errno;
#else
#include <errno.h>
#endif
#if defined(RT_USING_DEVICE) && defined(RT_USING_CONSOLE)
static rt_device_t _console_device = RT_NULL;
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册