From c7034976554b2a4e250f551d609b01bafbad8f51 Mon Sep 17 00:00:00 2001 From: Shauren Date: Wed, 16 Feb 2022 20:22:15 +0100 Subject: Build: Partial support for clang-cl (cherry picked from commit 0b846b2107569209d6bb0106f3075b624c713244) --- src/common/Debugging/WheatyExceptionReport.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/common/Debugging/WheatyExceptionReport.cpp') 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 + +#ifdef __clang__ +// clang-cl doesn't have these hardcoded types available, correct ehdata_forceinclude.h that relies on it +#define _ThrowInfo ThrowInfo +#endif + #include #include #include -- cgit v1.2.3