summaryrefslogtreecommitdiffstats
path: root/libstdc++/include/csetjmp
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++/include/csetjmp')
-rw-r--r--libstdc++/include/csetjmp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libstdc++/include/csetjmp b/libstdc++/include/csetjmp
index a68d127..ba82144 100644
--- a/libstdc++/include/csetjmp
+++ b/libstdc++/include/csetjmp
@@ -36,6 +36,8 @@
#include <setjmp.h>
+extern "C++" {
+
#ifndef setjmp
#define setjmp(env) setjmp (env)
#endif
@@ -46,4 +48,6 @@ using ::jmp_buf;
using ::longjmp;
} // namespace std
+} // extern C++
+
#endif // BIONIC_LIBSTDCPP_INCLUDE_CSETJMP__