Fix build.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-10-23 16:52:22 +02:00
parent 09bc55ec94
commit ea97089e23
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 1 additions and 1 deletions

View File

@ -12,6 +12,6 @@ static ArbUt::SignalHandling sh;
/// @brief Sets a callback to a function to run when a signal occurs.
export void Arbutils_C_SetSignalCallback(void (*callback)(const char*)) { sh.SetCallback(callback); }
#else
/// @brief Sets a callback to a function to run when a signal occurs.
export void Arbutils_C_SetSignalCallback(void (*)(const char*)) { }
export void Arbutils_C_RaiseSignal() { raise(SIGSEGV); }
#endif