diff options
| author | [email protected] <[email protected]> | 2012-04-13 14:08:53 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-04-13 14:08:53 +0000 |
| commit | 8fd470414189441b0d145a1de44d3b4bf41a1bd9 (patch) | |
| tree | 7235ada4a9f6f9eba56297735fe1cf6e64a52d52 /components/pthreads | |
| parent | ffa1c57e10f430bd58042cf930e599e22a2cbb71 (diff) | |
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
Diffstat (limited to 'components/pthreads')
| -rw-r--r-- | components/pthreads/posix_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/pthreads/posix_types.h b/components/pthreads/posix_types.h index a2bb1aeac9..3d2ab1d335 100644 --- a/components/pthreads/posix_types.h +++ b/components/pthreads/posix_types.h @@ -14,6 +14,8 @@ #include <errno.h>
#include <stdarg.h>
+#define ESHUTDOWN 180
+
#else
/* ARM compiler and IAR compiler */
|
