Further fixes for Windows.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
c2655568d7
commit
c1a207f918
|
@ -4,6 +4,8 @@
|
||||||
std::string ExceptionHandler::_ArbutilsLastException = "";
|
std::string ExceptionHandler::_ArbutilsLastException = "";
|
||||||
export const char* Arbutils_C_GetLastException() { return ExceptionHandler::GetLastException(); }
|
export const char* Arbutils_C_GetLastException() { return ExceptionHandler::GetLastException(); }
|
||||||
|
|
||||||
|
#if !WINDOWS
|
||||||
static ArbUt::SignalHandling sh;
|
static ArbUt::SignalHandling sh;
|
||||||
export void Arbutils_C_SetSignalCallback(void (*callback)(const char*)) { sh = ArbUt::SignalHandling(callback); }
|
export void Arbutils_C_SetSignalCallback(void (*callback)(const char*)) { sh = ArbUt::SignalHandling(callback); }
|
||||||
export void Arbutils_C_RaiseSignal() { raise(SIGSEGV); }
|
export void Arbutils_C_RaiseSignal() { raise(SIGSEGV); }
|
||||||
|
#endif
|
Loading…
Reference in New Issue