From 9ff5ca9442e8a3f454d059ae2c62d94ca8d4f5ed Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 11 Dec 2018 13:57:09 +0100 Subject: Use declarations from cxxabi.h where available Change-Id: Ie92c9654c7ccc5cd4acde728b35311f251f740ac Reviewed-on: https://gerrit.libreoffice.org/64963 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- bridges/source/cpp_uno/gcc3_linux_arm/share.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bridges') 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 } -- cgit v1.2.3