mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Common: add explicit <signal.h> for BSDs after 3ed7435012
Common/ExceptionHandlerSetup.cpp:298:6: error: no matching constructor for initialization of 'sigaltstack' if (sigaltstack(&signal_stack, nullptr)) { ^ ~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/signal.h:449:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided struct __stack_t { ^ /usr/include/sys/signal.h:434:19: note: expanded from macro '__stack_t' #define __stack_t sigaltstack ^ /usr/include/sys/signal.h:449:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided /usr/include/sys/signal.h:434:19: note: expanded from macro '__stack_t' #define __stack_t sigaltstack ^ /usr/include/sys/signal.h:449:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided /usr/include/sys/signal.h:434:19: note: expanded from macro '__stack_t' #define __stack_t sigaltstack ^
This commit is contained in:
parent
dca637d8dc
commit
303efbc268
@ -214,6 +214,8 @@ void UninstallExceptionHandler() {
|
||||
|
||||
#else
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
static struct sigaction old_sa_segv;
|
||||
static struct sigaction old_sa_bus;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user