aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/sys/features.h
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2013-02-01 16:35:07 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2013-02-01 16:35:07 +0700
commita5cc2f2fed66526e04a9b91304975d1373d48433 (patch)
treeb634d9c1d8bdf3f87facb4f015f887c966cebbcf /system/include/libc/sys/features.h
parentabc177f64fddca0ce07becbfc712309377755a5f (diff)
Move some definitions to sys/features.
This moves some feature flags to sys/features.h where they belong and gives them the same values that are established in the settings file. Fixes #812.
Diffstat (limited to 'system/include/libc/sys/features.h')
-rw-r--r--system/include/libc/sys/features.h5
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. */