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:
authorCorinna Vinschen <corinna@vinschen.de>2007-02-08 16:34:20 +0300
committerCorinna Vinschen <corinna@vinschen.de>2007-02-08 16:34:20 +0300
commitd7e4c7a807a5f1f633a184ea73be2599210499fb (patch)
tree68a82cfd12099b4ac2208800ff00b04c9dae1c8f /newlib
parent0bce6570f0a3060f0ae83c74b512acd9be0ebad6 (diff)
* libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
Diffstat (limited to 'newlib')
-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 */