1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-01 16:32:31 +01:00
openrw/rwcore/rw/abort.cpp
2018-08-23 15:45:39 +02:00

17 lines
230 B
C++

#include <functional>
#ifdef RW_DEBUG
std::function<void()> _rw_abort_cb[2] = {nullptr, nullptr};
#if defined(RW_WINDOWS)
#define WINDOWS_LEAN_AND_MEAN
#include <Windows.h>
void WinBreak() {
DebugBreak();
}
#endif
#endif