summaryrefslogtreecommitdiff
path: root/components/net
diff options
context:
space:
mode:
authorMurphyZhao <[email protected]>2019-04-11 15:13:16 +0800
committerMurphyZhao <[email protected]>2019-04-11 15:14:20 +0800
commit9be085aa0498e3a56945b60a2e9ba788096f3319 (patch)
treea2831f16f816e52773b337b241aa295d23fec610 /components/net
parent81e028105d89db1f009c33483f5b9f1c8f7e2cf9 (diff)
[components/net/lwip-1.4.1] 修复不开启 RT_USING_LIBC 时 errno 错误码重复定义的问题
Signed-off-by: MurphyZhao <[email protected]>
Diffstat (limited to 'components/net')
-rw-r--r--components/net/lwip-1.4.1/src/arch/include/arch/cc.h2
1 files changed, 0 insertions, 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)