diff options
author | Christopher Faylor <me@cgf.cx> | 2004-02-09 02:22:01 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-02-09 02:22:01 +0000 |
commit | 733309f5761d777a61b8db86e734fbffc236f104 (patch) | |
tree | bb3cb40554b815191e9372fd10de17ffa0a24b01 /newlib/libc/include/sys/features.h | |
parent | 6946073e784471e1fc51fffd705b0cbc4d58e730 (diff) | |
download | cygnal-733309f5761d777a61b8db86e734fbffc236f104.tar.gz cygnal-733309f5761d777a61b8db86e734fbffc236f104.tar.bz2 cygnal-733309f5761d777a61b8db86e734fbffc236f104.zip |
* 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__.
Diffstat (limited to 'newlib/libc/include/sys/features.h')
-rw-r--r-- | newlib/libc/include/sys/features.h | 19 |
1 files changed, 10 insertions, 9 deletions
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 |