ソースを参照

Update posix_types.h

Bernard Xiong 12 年 前
コミット
041a7e887b
1 ファイル変更3 行追加0 行削除
  1. 3 0
      components/pthreads/posix_types.h

+ 3 - 0
components/pthreads/posix_types.h

@@ -19,6 +19,7 @@
  *
  * Change Logs:
  * Date           Author       Notes
+ * 2013-12-23     Bernard      Add the checking for ESHUTDOWN 
  */
 
 #ifndef __POSIX_TYPES_H__
@@ -37,7 +38,9 @@
 #include <errno.h>
 #include <stdarg.h>
 
+#ifndef ESHUTDOWN
 #define ESHUTDOWN 180
+#endif
 
 #else