From 0b846b2107569209d6bb0106f3075b624c713244 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 --- 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 f0754971afa..f9b7c4ac8b1 100644 --- a/src/common/Debugging/WheatyExceptionReport.cpp +++ b/src/common/Debugging/WheatyExceptionReport.cpp @@ -7,6 +7,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