From 394660ec2f71ee3559dd13c2743646fc8e7d75f9 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 6 Jul 2009 18:59:04 +0000 Subject: [PATCH] 2009-07-06 Joel Sherrill * libc/include/sys/features.h: Enable UNIX98 mutex attributes for RTEMS. --- newlib/ChangeLog | 5 +++++ newlib/libc/include/sys/features.h | 3 +++ 2 files changed, 8 insertions(+) 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 + + * libc/include/sys/features.h: Enable UNIX98 mutex attributes + for RTEMS. + 2009-07-03 Eric Blake 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 */