summaryrefslogtreecommitdiff
path: root/components/pthreads
diff options
context:
space:
mode:
authorbernard <[email protected]>2013-12-29 22:31:05 +0800
committerbernard <[email protected]>2013-12-29 22:31:05 +0800
commita93251ae2b61e7a48c2168e08e81dc15f42a92e2 (patch)
treedde4cf4909c61c3c0308194aa2c08efe56e16073 /components/pthreads
parent42ae1c634d9e102091b82bc61ebfe05cccd7fcea (diff)
parent939176d13adf7a5a38673f1c836f85fa68cd30be (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
Diffstat (limited to 'components/pthreads')
-rw-r--r--components/pthreads/posix_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/pthreads/posix_types.h b/components/pthreads/posix_types.h
index cbc2515884..280867c4ca 100644
--- a/components/pthreads/posix_types.h
+++ b/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