1
0
Эх сурвалжийг харах

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
qiuyiuestc@gmail.com 13 жил өмнө
parent
commit
8fd4704141

+ 2 - 0
components/pthreads/posix_types.h

@@ -14,6 +14,8 @@
 #include <errno.h>
 #include <stdarg.h>
 
+#define ESHUTDOWN 180
+
 #else
 
 /* ARM compiler and IAR compiler */