1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 19:32:49 +01:00
openrw/rwlib/source/rw/abort.cpp
2018-02-13 22:15:26 +00:00

17 lines
227 B
C++

#include <functional>
#if 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