mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04: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
1 changed files with 2 additions and 0 deletions
|
@ -214,6 +214,8 @@ void UninstallExceptionHandler() {
|
|||
|
||||
#else
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
static struct sigaction old_sa_segv;
|
||||
static struct sigaction old_sa_bus;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue