Fixed Windows issues.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
8fecd2079a
commit
675407d7f5
|
@ -9,6 +9,6 @@ static ArbUt::SignalHandling sh;
|
|||
export void Arbutils_C_SetSignalCallback(void (*callback)(const char*)) { sh.SetCallback(callback); }
|
||||
export void Arbutils_C_RaiseSignal() { raise(SIGSEGV); }
|
||||
#else
|
||||
export void Arbutils_C_SetSignalCallback(void (*callback)(const char*)) { }
|
||||
export void Arbutils_C_SetSignalCallback(void (*)(const char*)) { }
|
||||
export void Arbutils_C_RaiseSignal() { raise(SIGSEGV); }
|
||||
#endif
|
|
@ -1,3 +1,5 @@
|
|||
#include "SignalHandling.hpp"
|
||||
|
||||
#if !WINDOWS
|
||||
void (*ArbUt::SignalHandling::_callback)(const char*) = nullptr;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue