4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 18:53:31 +08:00

add un-defined errno in newlib.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@673 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong 2010-04-27 04:09:54 +00:00
parent 2c0f89d99a
commit 61e66e376b

View File

@ -55,6 +55,8 @@ typedef rt_uint32_t mem_ptr_t;
#ifdef RT_USING_NEWLIB
#include <errno.h>
/* some errno not defined in newlib */
#define ENSRNOTFOUND 163 /* Domain name not found */
#else
#define LWIP_PROVIDE_ERRNO
#endif