diff options
author | Christopher Faylor <me@cgf.cx> | 2001-04-12 00:05:57 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-04-12 00:05:57 +0000 |
commit | 74f8cc634aea79eaa918dd426a846b699075c9c8 (patch) | |
tree | 2b78e89338bc7f817da5c8f28ff1e06aa4de7786 /newlib/libc/include/sys/features.h | |
parent | fc672fb26c42cc18eb0729236b221943d7bf25b3 (diff) | |
download | cygnal-74f8cc634aea79eaa918dd426a846b699075c9c8.tar.gz cygnal-74f8cc634aea79eaa918dd426a846b699075c9c8.tar.bz2 cygnal-74f8cc634aea79eaa918dd426a846b699075c9c8.zip |
* libc/include/sys/features.h: Add appropriate defines for Cygwin pthread
support.
* libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
* libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads types.
Include <cygwin/types.h> for the cygwin specific typedefs.
Diffstat (limited to 'newlib/libc/include/sys/features.h')
-rw-r--r-- | newlib/libc/include/sys/features.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h index f492556d1..e86ce1344 100644 --- a/newlib/libc/include/sys/features.h +++ b/newlib/libc/include/sys/features.h @@ -81,6 +81,11 @@ extern "C" { # 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 #endif #ifdef __cplusplus |