summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-02-08 13:34:20 +0000
committerCorinna Vinschen <corinna@vinschen.de>2007-02-08 13:34:20 +0000
commitd7e4c7a807a5f1f633a184ea73be2599210499fb (patch)
tree68a82cfd12099b4ac2208800ff00b04c9dae1c8f
parent0bce6570f0a3060f0ae83c74b512acd9be0ebad6 (diff)
downloadcygnal-d7e4c7a807a5f1f633a184ea73be2599210499fb.tar.gz
cygnal-d7e4c7a807a5f1f633a184ea73be2599210499fb.tar.bz2
cygnal-d7e4c7a807a5f1f633a184ea73be2599210499fb.zip
* libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/sys/features.h6
2 files changed, 8 insertions, 3 deletions
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 <corinna@vinschen.de>
+
+ * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
+ Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
+
2007-02-07 Corinna Vinschen <corinna@vinschen.de>
* 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 */