diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-19 17:34:25 +0100 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-19 17:34:25 +0100 |
commit | d477c4c2fbe5fd353950d3e94db4b7ef7125eb75 (patch) | |
tree | 84a95116b250e16f5884aa12edf6b166c80e1516 /system/include | |
parent | 7c6c1f8a3ee6b77aa3661460fd7510a9cd18ba0a (diff) |
sa_sigaction
Diffstat (limited to 'system/include')
-rw-r--r-- | system/include/libc/sys/features.h | 4 | ||||
-rw-r--r-- | system/include/libc/sys/signal.h | 1 |
2 files changed, 5 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__ diff --git a/system/include/libc/sys/signal.h b/system/include/libc/sys/signal.h index 543b626e..910ccf78 100644 --- a/system/include/libc/sys/signal.h +++ b/system/include/libc/sys/signal.h @@ -114,6 +114,7 @@ struct sigaction _sig_func_ptr sa_handler; sigset_t sa_mask; int sa_flags; + void (*sa_sigaction)(int, siginfo_t *, void *); /* XXX EMSCRIPTEN */ }; #endif /* defined(__rtems__) */ |