summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-12-01 09:58:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-12-02 08:02:20 +0100
commit871b5abf1198c6b385eef844fa0c1192ccf42592 (patch)
tree318882949e5acc55c8bbf5686ad54dee99037623 /bridges
parentcb8cd417de869517b4c5a30a201602e76e94aae4 (diff)
Work around missing __CxxDetectRethrow in clang-cl
Change-Id: Ia42d39f04b22986d3fd873655b48dc31d834caee
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx
index 120ac49e66a1..7d1c1fad6dc4 100644
--- a/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx
@@ -252,6 +252,12 @@ void
#include "mscx.hxx"
#include "bridges/cpp_uno/shared/except.hxx"
+//TOOD: Work around missing __CxxDetectRethrow in clang-cl for now (predefined
+// in cl, <www.geoffchappell.com/studies/msvc/language/predefined/index.html>):
+#if defined __clang__
+extern "C" int __cdecl __CxxDetectRethrow(void *);
+#endif
+
#pragma pack(push, 8)
using namespace ::com::sun::star::uno;