aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2009-07-06 18:59:04 +0000
committerJeff Johnston <jjohnstn@redhat.com>2009-07-06 18:59:04 +0000
commit394660ec2f71ee3559dd13c2743646fc8e7d75f9 (patch)
tree87ca73be5ad5779402854e9e9a86c79429b7429a
parent023c25829cef04ee4869063160bdad12fc231d34 (diff)
downloadnewlib-394660ec2f71ee3559dd13c2743646fc8e7d75f9.zip
newlib-394660ec2f71ee3559dd13c2743646fc8e7d75f9.tar.gz
newlib-394660ec2f71ee3559dd13c2743646fc8e7d75f9.tar.bz2
2009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/include/sys/features.h: Enable UNIX98 mutex attributes for RTEMS.
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/sys/features.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 005ff98..222b8a8 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 1fa5427..bc40f00 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 */