about summary refs log tree commit diff
path: root/sysdeps/generic/sigcontextinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/sigcontextinfo.h')
-rw-r--r--sysdeps/generic/sigcontextinfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/generic/sigcontextinfo.h b/sysdeps/generic/sigcontextinfo.h
index a33aadfed1..8a6c93aabc 100644
--- a/sysdeps/generic/sigcontextinfo.h
+++ b/sysdeps/generic/sigcontextinfo.h
@@ -23,3 +23,5 @@
 #define GET_PC(ctx)	((void *) 0)
 #define GET_FRAME(ctx)	((void *) 0)
 #define GET_STACK(ctx)	((void *) 0)
+#define CALL_SIGHANDLER(handler, signo, ctx) \
+  (handler)((signo), SIGCONTEXT_EXTRA_ARGS (ctx))