diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-02-01 18:29:39 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-02-01 18:29:39 -0800 |
commit | 33ba871c65d997ef89ad3ac640f5797efc67f4a9 (patch) | |
tree | 13b38e457052a7f968bbcc47a4aefdd429d22995 /system/include/libc/sys/features.h | |
parent | 2c5ffc3aee1239a9c5d3eee7648ed40f0d67dc28 (diff) | |
parent | a5cc2f2fed66526e04a9b91304975d1373d48433 (diff) |
Merge pull request #820 from waywardmonkeys/sys-features
Move some definitions to sys/features.
Diffstat (limited to 'system/include/libc/sys/features.h')
-rw-r--r-- | system/include/libc/sys/features.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/system/include/libc/sys/features.h b/system/include/libc/sys/features.h index 87a520a0..8c32bf04 100644 --- a/system/include/libc/sys/features.h +++ b/system/include/libc/sys/features.h @@ -26,7 +26,10 @@ extern "C" { #endif #if EMSCRIPTEN -#define _POSIX_REALTIME_SIGNALS 1 +#define _POSIX_REALTIME_SIGNALS 1 +#define _POSIX_THREADS 200112L +#define _UNIX98_THREAD_MUTEX_ATTRIBUTES 1 +#define _POSIX_READER_WRITER_LOCKS 200112L #endif /* RTEMS adheres to POSIX -- 1003.1b with some features from annexes. */ |