Sfoglia il codice sorgente

add un-defined errno in newlib.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@673 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong 15 anni fa
parent
commit
61e66e376b
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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