diff options
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/include/sys/features.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 005ff984a..222b8a8fd 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com> + + * libc/include/sys/features.h: Enable UNIX98 mutex attributes + for RTEMS. + 2009-07-03 Eric Blake <ebb9@byu.net> Add mkdtemp, mkstemps. diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h index 1fa542789..bc40f0068 100644 --- a/newlib/libc/include/sys/features.h +++ b/newlib/libc/include/sys/features.h @@ -73,6 +73,9 @@ extern "C" { #define _POSIX_INTERRUPT_CONTROL 1 #define _POSIX_ADVISORY_INFO 1 +/* UNIX98 added some new pthread mutex attributes */ +#define _UNIX98_THREAD_MUTEX_ATTRIBUTES 1 + #endif /* XMK loosely adheres to POSIX -- 1003.1 */ |