Tweaks to make Windows happy again hopefully
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2020-08-18 18:50:03 +02:00
parent c1a207f918
commit 16b083d927
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
2 changed files with 1 additions and 5 deletions

View File

@ -4,8 +4,6 @@
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

View File

@ -1,11 +1,9 @@
#ifndef ARBUTILS_SIGNALHANDLING_HPP
#define ARBUTILS_SIGNALHANDLING_HPP
#if !WINDOWS
#if PRETTYTRACES
#if PRETTYTRACES && !WINDOWS
#define BACKWARD_HAS_DW 1
#endif
#include "../extern/backward.hpp"
#endif
#include "Exception.hpp"