From 733309f5761d777a61b8db86e734fbffc236f104 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 9 Feb 2004 02:22:01 +0000 Subject: * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__. * libc/include/sys/reent.h (__getreent): Protect against possibly being defined. * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__. --- newlib/libc/include/sys/features.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'newlib/libc/include/sys/features.h') diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h index f69c803ff..af31ce670 100644 --- a/newlib/libc/include/sys/features.h +++ b/newlib/libc/include/sys/features.h @@ -78,15 +78,16 @@ extern "C" { #endif #ifdef __CYGWIN__ -# define _POSIX_JOB_CONTROL 1 -# define _POSIX_SAVED_IDS 0 -# define _POSIX_VERSION 199009L -# define _POSIX_THREADS 1 -# define _POSIX_THREAD_PROCESS_SHARED 1 -# define _POSIX_THREAD_SAFE_FUNCTIONS 1 -# define _POSIX_THREAD_PRIORITY_SCHEDULING 1 -# define _POSIX_THREAD_ATTR_STACKSIZE 1 -# define _POSIX_SEMAPHORES 1 +# define _POSIX_JOB_CONTROL 1 +# define _POSIX_SAVED_IDS 0 +# define _POSIX_VERSION 199009L +# define _POSIX_THREADS 1 +# define _POSIX_THREAD_PROCESS_SHARED 1 +# define _POSIX_THREAD_SAFE_FUNCTIONS 1 +# define _POSIX_THREAD_PRIORITY_SCHEDULING 1 +# define _POSIX_THREAD_ATTR_STACKSIZE 1 +# define _POSIX_SEMAPHORES 1 +# define _POSIX_TIMERS 1 #endif #ifdef __cplusplus -- cgit v1.2.3