瀏覽代碼

Update posix_types.h

Bernard Xiong 11 年之前
父節點
當前提交
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:
  * Change Logs:
  * Date           Author       Notes
  * Date           Author       Notes
+ * 2013-12-23     Bernard      Add the checking for ESHUTDOWN 
  */
  */
 
 
 #ifndef __POSIX_TYPES_H__
 #ifndef __POSIX_TYPES_H__
@@ -37,7 +38,9 @@
 #include <errno.h>
 #include <errno.h>
 #include <stdarg.h>
 #include <stdarg.h>
 
 
+#ifndef ESHUTDOWN
 #define ESHUTDOWN 180
 #define ESHUTDOWN 180
+#endif
 
 
 #else
 #else