Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2009-07-06 22:59:04 +0400
committerJeff Johnston <jjohnstn@redhat.com>2009-07-06 22:59:04 +0400
commit394660ec2f71ee3559dd13c2743646fc8e7d75f9 (patch)
tree87ca73be5ad5779402854e9e9a86c79429b7429a /newlib
parent023c25829cef04ee4869063160bdad12fc231d34 (diff)
2009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/include/sys/features.h: Enable UNIX98 mutex attributes for RTEMS.
Diffstat (limited to 'newlib')
-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 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 */