aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/sys/features.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/libc/sys/features.h')
-rw-r--r--system/include/libc/sys/features.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/include/libc/sys/features.h b/system/include/libc/sys/features.h
index 9faf2b89..87a520a0 100644
--- a/system/include/libc/sys/features.h
+++ b/system/include/libc/sys/features.h
@@ -25,6 +25,10 @@
extern "C" {
#endif
+#if EMSCRIPTEN
+#define _POSIX_REALTIME_SIGNALS 1
+#endif
+
/* RTEMS adheres to POSIX -- 1003.1b with some features from annexes. */
#ifdef __rtems__