diff --git a/CInterface/Core.cpp b/CInterface/Core.cpp index c3f8ef6..70d84a1 100644 --- a/CInterface/Core.cpp +++ b/CInterface/Core.cpp @@ -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 \ No newline at end of file diff --git a/src/SignalHandling.cpp b/src/SignalHandling.cpp index b6bea6c..5823452 100644 --- a/src/SignalHandling.cpp +++ b/src/SignalHandling.cpp @@ -1,3 +1,5 @@ #include "SignalHandling.hpp" -void (*ArbUt::SignalHandling::_callback)(const char*) = nullptr; \ No newline at end of file +#if !WINDOWS +void (*ArbUt::SignalHandling::_callback)(const char*) = nullptr; +#endif