From c1a207f91805bee1fb227e883d9a57ad930cb270 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Tue, 18 Aug 2020 18:46:50 +0200 Subject: [PATCH] Further fixes for Windows. --- CInterface/Core.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CInterface/Core.cpp b/CInterface/Core.cpp index 1d3e233..6d576e4 100644 --- a/CInterface/Core.cpp +++ b/CInterface/Core.cpp @@ -4,6 +4,8 @@ std::string ExceptionHandler::_ArbutilsLastException = ""; export const char* Arbutils_C_GetLastException() { return ExceptionHandler::GetLastException(); } +#if !WINDOWS static ArbUt::SignalHandling sh; export void Arbutils_C_SetSignalCallback(void (*callback)(const char*)) { sh = ArbUt::SignalHandling(callback); } export void Arbutils_C_RaiseSignal() { raise(SIGSEGV); } +#endif \ No newline at end of file