From 871b5abf1198c6b385eef844fa0c1192ccf42592 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 1 Dec 2015 09:58:00 +0100 Subject: Work around missing __CxxDetectRethrow in clang-cl Change-Id: Ia42d39f04b22986d3fd873655b48dc31d834caee --- bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bridges') 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, ): +#if defined __clang__ +extern "C" int __cdecl __CxxDetectRethrow(void *); +#endif + #pragma pack(push, 8) using namespace ::com::sun::star::uno; -- cgit