From 0621a279adfb981ea1f0564e7fc8280cda78e043 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Fri, 25 Jun 2010 16:53:37 -0700 Subject: libstdc++: use extern "C++" in all our C++ system headers. This is needed to build an independent toolchain with g++ that doesn't think that all these headers are in C. Change-Id: Ie9a8ccfcab7780d6a4e5722777d61c2b1b312001 --- libstdc++/include/csignal | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libstdc++/include/csignal') diff --git a/libstdc++/include/csignal b/libstdc++/include/csignal index 2600a75..84f0e1d 100644 --- a/libstdc++/include/csignal +++ b/libstdc++/include/csignal @@ -36,6 +36,8 @@ #include +extern "C++" { + namespace std { using ::sig_atomic_t; @@ -43,4 +45,6 @@ using ::signal; using ::raise; } // namespace std +} // extern C++ + #endif // BIONIC_LIBSTDCPP_INCLUDE_CSIGNAL__ -- cgit v1.1