mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-12 00:43:04 +00:00
Provide sighandler_t fallback for non-GNU-libc platforms
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
committed by
Daniel Vetter
parent
f04b9dfba0
commit
95ea5d5c0b
@@ -1206,6 +1206,10 @@ void igt_waitchildren(void)
|
||||
#define MAX_SIGNALS 32
|
||||
#define MAX_EXIT_HANDLERS 10
|
||||
|
||||
#ifndef HAVE_SIGHANDLER_T
|
||||
typedef void (*sighandler_t)(int);
|
||||
#endif
|
||||
|
||||
static struct {
|
||||
sighandler_t handler;
|
||||
bool installed;
|
||||
|
||||
Reference in New Issue
Block a user