Browse Source

从LWIP移除ESHUTDOWN

Meco Man 4 years ago
parent
commit
9352fdeba7

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

@@ -62,9 +62,6 @@ typedef uintptr_t mem_ptr_t;
             180 here because the number "108" which is used
             in arch.h has been assigned to another error code. */
 #endif
-#ifndef ESHUTDOWN
-#define ESHUTDOWN 180
-#endif
 
 #if defined(RT_USING_LIBC) || defined(RT_LIBC_USING_TIME) || (defined( __GNUC__ ) && !defined(__ARMCC_VERSION))
 #include <sys/time.h>

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

@@ -53,9 +53,6 @@
             180 here because the number "108" which is used
             in arch.h has been assigned to another error code. */
 #endif
-#ifndef ESHUTDOWN
-#define ESHUTDOWN 180
-#endif
 
 #if defined(RT_USING_LIBC) || defined(RT_LIBC_USING_TIME) || (defined( __GNUC__ ) && !defined(__ARMCC_VERSION))
 #include <sys/time.h>

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

@@ -53,9 +53,6 @@
             180 here because the number "108" which is used
             in arch.h has been assigned to another error code. */
 #endif
-#ifndef ESHUTDOWN
-#define ESHUTDOWN 180
-#endif
 
 #if defined(RT_USING_LIBC) || defined(RT_LIBC_USING_TIME) || (defined( __GNUC__ ) && !defined(__ARMCC_VERSION))
 #include <sys/time.h>