diff options
author | Shauren <shauren.trinity@gmail.com> | 2022-02-16 20:22:15 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-02-26 12:16:13 +0100 |
commit | c7034976554b2a4e250f551d609b01bafbad8f51 (patch) | |
tree | 5179bdce6d627d10fe6059733400a8e572792a54 /src | |
parent | 0ce6a573a6c96ee50c028f75ca852da892be6b24 (diff) |
Build: Partial support for clang-cl
(cherry picked from commit 0b846b2107569209d6bb0106f3075b624c713244)
Diffstat (limited to 'src')
-rw-r--r-- | src/common/Debugging/WheatyExceptionReport.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/Debugging/WheatyExceptionReport.cpp b/src/common/Debugging/WheatyExceptionReport.cpp index 943c0699381..87e641b639e 100644 --- a/src/common/Debugging/WheatyExceptionReport.cpp +++ b/src/common/Debugging/WheatyExceptionReport.cpp @@ -8,6 +8,12 @@ #include "Errors.h" #include "GitRevision.h" #include <algorithm> + +#ifdef __clang__ +// clang-cl doesn't have these hardcoded types available, correct ehdata_forceinclude.h that relies on it +#define _ThrowInfo ThrowInfo +#endif + #include <ehdata.h> #include <rttidata.h> #include <tlhelp32.h> |