OSDN Git Service

* libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
authorcorinna <corinna>
Thu, 8 Feb 2007 13:34:19 +0000 (13:34 +0000)
committercorinna <corinna>
Thu, 8 Feb 2007 13:34:19 +0000 (13:34 +0000)
Cygwin.  Fix value of _POSIX_SEMAPHORES.  Fix formatting.

newlib/ChangeLog
newlib/libc/include/sys/features.h

index 9b98919..0d82d9b 100644 (file)
@@ -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
index ed0b6b7..adad114 100644 (file)
@@ -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 */