Add SIGUSR1 and SIGUSR2 macros for Windows
This commit is contained in:
parent
164ce4b334
commit
3a9e7150f7
|
@ -19,6 +19,11 @@ extern "C" void stackSignalHandler(int sig) {
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
#define SIGUSR1 10
|
||||
#define SIGUSR2 12
|
||||
#endif
|
||||
|
||||
void setupStackSignal() {
|
||||
std::signal(SIGUSR1, &stackSignalHandler);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue