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:
parent
2c0f89d99a
commit
61e66e376b
|
@ -55,6 +55,8 @@ typedef rt_uint32_t mem_ptr_t;
|
||||||
|
|
||||||
#ifdef RT_USING_NEWLIB
|
#ifdef RT_USING_NEWLIB
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
/* some errno not defined in newlib */
|
||||||
|
#define ENSRNOTFOUND 163 /* Domain name not found */
|
||||||
#else
|
#else
|
||||||
#define LWIP_PROVIDE_ERRNO
|
#define LWIP_PROVIDE_ERRNO
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue