diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-12-11 13:57:09 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-12-13 07:16:12 +0100 |
commit | 9ff5ca9442e8a3f454d059ae2c62d94ca8d4f5ed (patch) | |
tree | b4f398e877bb9631b2deb74d10ff95ee4bb950d8 /bridges/source/cpp_uno | |
parent | 399af2e8cb3b80555194b4a6186fe9deabeac95d (diff) |
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/source/cpp_uno')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_linux_arm/share.hxx | 4 |
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 } |