summaryrefslogtreecommitdiffstats
path: root/bridges
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-12-11 13:57:09 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-12-13 07:16:12 +0100
commit9ff5ca9442e8a3f454d059ae2c62d94ca8d4f5ed (patch)
treeb4f398e877bb9631b2deb74d10ff95ee4bb950d8 /bridges
parenttdf#107792 vcl/win/gdi: shrink WinSalGraphicsImpl::MakePen API (diff)
downloadcore-9ff5ca9442e8a3f454d059ae2c62d94ca8d4f5ed.tar.gz
core-9ff5ca9442e8a3f454d059ae2c62d94ca8d4f5ed.zip
Use declarations from cxxabi.h where available
Change-Id: Ie92c9654c7ccc5cd4acde728b35311f251f740ac Reviewed-on: https://gerrit.libreoffice.org/64963 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_arm/share.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/share.hxx b/bridges/source/cpp_uno/gcc3_linux_arm/share.hxx
index d7b7ff370b52..a39fe26a97b8 100644
--- a/bridges/source/cpp_uno/gcc3_linux_arm/share.hxx
+++ b/bridges/source/cpp_uno/gcc3_linux_arm/share.hxx
@@ -96,11 +96,15 @@ namespace CPPU_CURRENT_NAMESPACE
// -- following decl from libstdc++-v3/libsupc++/unwind-cxx.h and unwind.h
+#if !HAVE_CXXABI_H_CXA_ALLOCATE_EXCEPTION
extern "C" void *__cxa_allocate_exception(
std::size_t thrown_size ) throw();
+#endif
+#if !HAVE_CXXABI_H_CXA_THROW
extern "C" void __cxa_throw (
void *thrown_exception, std::type_info *tinfo,
void (*dest) (void *) ) __attribute__((noreturn));
+#endif
}