Tweaks to make Windows happy again hopefully
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
c1a207f918
commit
16b083d927
|
@ -4,8 +4,6 @@
|
||||||
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
|
|
|
@ -1,11 +1,9 @@
|
||||||
#ifndef ARBUTILS_SIGNALHANDLING_HPP
|
#ifndef ARBUTILS_SIGNALHANDLING_HPP
|
||||||
#define ARBUTILS_SIGNALHANDLING_HPP
|
#define ARBUTILS_SIGNALHANDLING_HPP
|
||||||
#if !WINDOWS
|
#if PRETTYTRACES && !WINDOWS
|
||||||
#if PRETTYTRACES
|
|
||||||
#define BACKWARD_HAS_DW 1
|
#define BACKWARD_HAS_DW 1
|
||||||
#endif
|
#endif
|
||||||
#include "../extern/backward.hpp"
|
#include "../extern/backward.hpp"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Exception.hpp"
|
#include "Exception.hpp"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue