diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2009-06-17 16:47:02 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2009-06-17 16:47:02 +0000 |
commit | a2c3c5dab4e3b732ed573236d3a5d8a9ea6145c1 (patch) | |
tree | 71c5bc550f8b2b45f081c238c1ca0e5fcde7dd60 /newlib/libc/include/sys/features.h | |
parent | de8c9afd7a31705927e010bfdbc692349ce342b7 (diff) | |
download | cygnal-a2c3c5dab4e3b732ed573236d3a5d8a9ea6145c1.tar.gz cygnal-a2c3c5dab4e3b732ed573236d3a5d8a9ea6145c1.tar.bz2 cygnal-a2c3c5dab4e3b732ed573236d3a5d8a9ea6145c1.zip |
2009-06-17 Michael Eager <eager@eagercon.com>
* libc/include/pthread.h: Support XMK (Xilinx) BSP, add RTEMS to
PTHREAD_MUTEX_NORMAL.
* libc/include/sys/features.h: Same.
* libc/include/sys/types.h: Same.
Diffstat (limited to 'newlib/libc/include/sys/features.h')
-rw-r--r-- | newlib/libc/include/sys/features.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h index 866044f60..1fa542789 100644 --- a/newlib/libc/include/sys/features.h +++ b/newlib/libc/include/sys/features.h @@ -75,6 +75,13 @@ extern "C" { #endif +/* XMK loosely adheres to POSIX -- 1003.1 */ +#ifdef __XMK__ +#define _POSIX_THREADS 1 +#define _POSIX_THREAD_PRIORITY_SCHEDULING 1 +#endif + + #ifdef __svr4__ # define _POSIX_JOB_CONTROL 1 # define _POSIX_SAVED_IDS 1 |