提交 f862baaa 编写于 作者: M mbbill@gmail.com

FIX: ESHUTDOWN is not defined when newlib is enabled.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1435 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 f666fd92
......@@ -57,6 +57,10 @@ typedef rt_uint32_t mem_ptr_t;
#include <errno.h>
/* some errno not defined in newlib */
#define ENSRNOTFOUND 163 /* Domain name not found */
/* WARNING: ESHUTDOWN also not defined in newlib. We chose
180 here because the number "108" which is used
in arch.h has been assigned to another error code. */
#define ESHUTDOWN 180
#else
#define LWIP_PROVIDE_ERRNO
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册