summaryrefslogtreecommitdiff
path: root/bridges/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-02-25 20:55:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-02-26 08:57:08 +0100
commit0fef230f0f58bcdebce56bc0439f7efade99a7c5 (patch)
tree5c0d22985b429293a78350b32166296c09945bd5 /bridges/source
parent069506bcb0ee4005b01c22095ed427b96b553c98 (diff)
Declarations based on config_cxxabi.h should be unrelated to _LIBCPP_VERSION
Change-Id: I79049fefad8b626b5c58728b9c05c4952fb97f1a
Diffstat (limited to 'bridges/source')
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx
index 4112114b7566..52598629245b 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx
@@ -50,14 +50,9 @@ namespace __cxxabiv1
virtual ~__si_class_type_info();
const __class_type_info *__base_type;
};
-
-extern "C" void *__cxa_allocate_exception( std::size_t thrown_size ) _NOEXCEPT;
-
-extern "C" _LIBCPP_NORETURN void __cxa_throw(
- void *thrown_exception, std::type_info *tinfo, void (*dest) (void *) );
}
-#else
+#endif
#if !HAVE_CXXABI_H_CXA_EH_GLOBALS
// <https://mentorembedded.github.io/cxx-abi/abi-eh.html>:
@@ -109,8 +104,6 @@ extern "C" void __cxa_throw(
}
#endif
-#endif
-
extern "C" void privateSnippetExecutor( ... );
namespace CPPU_CURRENT_NAMESPACE