From 9be085aa0498e3a56945b60a2e9ba788096f3319 Mon Sep 17 00:00:00 2001 From: MurphyZhao Date: Thu, 11 Apr 2019 15:13:16 +0800 Subject: [components/net/lwip-1.4.1] 修复不开启 RT_USING_LIBC 时 errno 错误码重复定义的问题 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MurphyZhao --- components/net/lwip-1.4.1/src/arch/include/arch/cc.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/net/lwip-1.4.1/src/arch/include/arch/cc.h b/components/net/lwip-1.4.1/src/arch/include/arch/cc.h index d85bf13441..06c0be6670 100644 --- a/components/net/lwip-1.4.1/src/arch/include/arch/cc.h +++ b/components/net/lwip-1.4.1/src/arch/include/arch/cc.h @@ -64,8 +64,6 @@ typedef uintptr_t mem_ptr_t; in arch.h has been assigned to another error code. */ #define ESHUTDOWN 180 #endif /* __CC_ARM/__IAR_SYSTEMS_ICC__ */ -#else -#define LWIP_PROVIDE_ERRNO #endif #if defined(RT_USING_LIBC) || defined(RT_USING_MINILIBC) -- cgit v1.3.1