make cxxabi.h safe for C code to include

llvm-svn: 136682
This commit is contained in:
Nick Kledzik 2011-08-02 05:15:26 +00:00
parent 1c839a945b
commit 2dfc79b19e
1 changed files with 4 additions and 0 deletions

View File

@ -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