forked from OSchip/llvm-project
make cxxabi.h safe for C code to include
llvm-svn: 136682
This commit is contained in:
parent
1c839a945b
commit
2dfc79b19e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue