aboutsummaryrefslogtreecommitdiff
path: root/src/common/Debugging/WheatyExceptionReport.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2022-02-16 20:22:15 +0100
committerShauren <shauren.trinity@gmail.com>2022-02-16 20:22:15 +0100
commit0b846b2107569209d6bb0106f3075b624c713244 (patch)
treeeab385fd63d3ecfa2798cc9e51734b24d780cd2b /src/common/Debugging/WheatyExceptionReport.cpp
parent3248d7844bc5e2285cccd39f762e72fb497004bb (diff)
Build: Partial support for clang-cl
Diffstat (limited to 'src/common/Debugging/WheatyExceptionReport.cpp')
-rw-r--r--src/common/Debugging/WheatyExceptionReport.cpp6
1 files changed, 6 insertions, 0 deletions
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 <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>