Bläddra i källkod

Update posix_types.h

Bernard Xiong 11 år sedan
förälder
incheckning
041a7e887b
1 ändrade filer med 3 tillägg och 0 borttagningar
  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