Explorar o código

add un-defined errno in newlib.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@673 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong %!s(int64=15) %!d(string=hai) anos
pai
achega
61e66e376b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      components/net/lwip/src/arch/include/arch/cc.h

+ 2 - 0
components/net/lwip/src/arch/include/arch/cc.h

@@ -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