From db48463a7fdf1c0c008104116b17b76614a5e031 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 12 Dec 2008 17:16:03 +0000 Subject: [PATCH] 2008-12-12 Ralf Corsepius * libc/include/sys/features.h: Set RTEMS's _POSIX_MONOTONIC_CLOCK to 200112L (SUSv3 compliance). Comment out RTEMS's _POSIX_SHARED_MEMORY_OBJECTS (Unsupported). --- newlib/ChangeLog | 6 ++++++ newlib/libc/include/sys/features.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index e413100e4..6e96fa7b4 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,9 @@ +2008-12-12 Ralf Corsepius + + * libc/include/sys/features.h: Set RTEMS's _POSIX_MONOTONIC_CLOCK to + 200112L (SUSv3 compliance). + Comment out RTEMS's _POSIX_SHARED_MEMORY_OBJECTS (Unsupported). + 2008-12-12 Ralf Corsepius * libc/sys/rtems/crt0.c: Add stubs for getdents(), nanosleep(), diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h index 31c8e5273..1159dfdd5 100644 --- a/newlib/libc/include/sys/features.h +++ b/newlib/libc/include/sys/features.h @@ -38,12 +38,12 @@ extern "C" { #define _POSIX_MEMLOCK_RANGE 1 #define _POSIX_MEMORY_PROTECTION 1 #define _POSIX_MESSAGE_PASSING 1 -#define _POSIX_MONOTONIC_CLOCK 1 +#define _POSIX_MONOTONIC_CLOCK 200112L #define _POSIX_PRIORITIZED_IO 1 #define _POSIX_PRIORITY_SCHEDULING 1 #define _POSIX_REALTIME_SIGNALS 1 #define _POSIX_SEMAPHORES 1 -#define _POSIX_SHARED_MEMORY_OBJECTS 1 +/* #define _POSIX_SHARED_MEMORY_OBJECTS 1 */ #define _POSIX_SYNCHRONIZED_IO 1 #define _POSIX_TIMERS 1 #define _POSIX_BARRIERS 200112L