summaryrefslogtreecommitdiff
path: root/include/cxxabi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cxxabi.h')
-rw-r--r--include/cxxabi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cxxabi.h b/include/cxxabi.h
index 196e230..933ff21 100644
--- a/include/cxxabi.h
+++ b/include/cxxabi.h
@@ -20,6 +20,9 @@
#define LIBCXXABI_NORETURN __attribute__((noreturn))
+
+#ifdef __cplusplus
+
namespace std {
class type_info; // forward declaration
}
@@ -183,6 +186,7 @@ extern bool __cxa_uncaught_exception() throw();
} // extern "C"
} // namespace __cxxabiv1
+#endif // __cplusplus
#endif // __CXXABI_H