diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 9b98919b2..0d82d9bab 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2007-02-08 Corinna Vinschen + + * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for + Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting. + 2007-02-07 Corinna Vinschen * libc/include/sys/features.h: Add definition of all supported diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h index ed0b6b7b8..adad114bd 100644 --- a/newlib/libc/include/sys/features.h +++ b/newlib/libc/include/sys/features.h @@ -108,15 +108,15 @@ extern "C" { #define _POSIX_REALTIME_SIGNALS 200112L #define _POSIX_REGEXP 1 #define _POSIX_SAVED_IDS 1 -#define _POSIX_SEMAPHORES 1 -/* #define _POSIX_SHARED_MEMORY_OBJECTS -1 */ +#define _POSIX_SEMAPHORES 200112L +#define _POSIX_SHARED_MEMORY_OBJECTS 200112L #define _POSIX_SHELL 1 /* #define _POSIX_SPAWN -1 */ /* #define _POSIX_SPIN_LOCKS -1 */ /* #define _POSIX_SPORADIC_SERVER -1 */ #define _POSIX_SYNCHRONIZED_IO 200112L /* #define _POSIX_THREAD_ATTR_STACKADDR -1 */ -#define _POSIX_THREAD_ATTR_STACKSIZE 200112L +#define _POSIX_THREAD_ATTR_STACKSIZE 200112L /* #define _POSIX_THREAD_CPUTIME -1 */ /* #define _POSIX_THREAD_PRIO_INHERIT -1 */ /* #define _POSIX_THREAD_PRIO_PROTECT -1 */