Browse Source

fixed a compiling error in lm3s9b9x bsp while using gcc

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2517 bbd45198-f89e-11dd-88c7-29a3b14d5316
dzzxzz@gmail.com 12 years ago
parent
commit
555ccc5fa9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      components/net/lwip/src/arch/include/arch/cc.h

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

@@ -63,6 +63,7 @@ typedef rt_uint32_t	mem_ptr_t;
 #define ESHUTDOWN 180
 #elif RT_USING_MINILIBC
 #include <errno.h>
+#define  EADDRNOTAVAIL  99  /* Cannot assign requested address */
 #else
 #define LWIP_PROVIDE_ERRNO
 #endif