From 8fd470414189441b0d145a1de44d3b4bf41a1bd9 Mon Sep 17 00:00:00 2001 From: "qiuyiuestc@gmail.com" Date: Fri, 13 Apr 2012 14:08:53 +0000 Subject: [PATCH] fix compile error regarding with ESHUTDOWN errno when defined RT_USING_NEWLIB & RT_USING_PTHREAD & RT_USING_LWIP git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2038 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/pthreads/posix_types.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/pthreads/posix_types.h b/components/pthreads/posix_types.h index a2bb1aeac..3d2ab1d33 100644 --- a/components/pthreads/posix_types.h +++ b/components/pthreads/posix_types.h @@ -14,6 +14,8 @@ #include #include +#define ESHUTDOWN 180 + #else /* ARM compiler and IAR compiler */ -- GitLab