瀏覽代碼

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 年之前
父節點
當前提交
8fd4704141
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      components/pthreads/posix_types.h

+ 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 */