diff options
author | Shauren <shauren.trinity@gmail.com> | 2016-03-03 17:29:48 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2016-03-03 17:29:48 +0100 |
commit | dea7d429abe5143672154784f93e4b19020062d5 (patch) | |
tree | e985ab2ecffaac45e7c1f15514c2c7bdfa519ab4 /src/common/Debugging/Errors.h | |
parent | d0263c03fd7cc7291b2eed2a3ca027cf1a8926e2 (diff) |
Core/Debugging: Make abort() less bad on windows by forcing crash log generation
Diffstat (limited to 'src/common/Debugging/Errors.h')
-rw-r--r-- | src/common/Debugging/Errors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/Debugging/Errors.h b/src/common/Debugging/Errors.h index 38e311a6b13..37d247ada82 100644 --- a/src/common/Debugging/Errors.h +++ b/src/common/Debugging/Errors.h @@ -34,6 +34,8 @@ namespace Trinity void Warning(char const* file, int line, char const* function, char const* message); + DECLSPEC_NORETURN void AbortHandler(int sigval) ATTR_NORETURN; + } // namespace Trinity #if COMPILER == COMPILER_MICROSOFT |