summaryrefslogtreecommitdiffstats
path: root/libcxxabi
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-02-02 20:47:05 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-02-02 20:47:05 +0000
commit90ef25c05ed63aab61a946231332e2e708eb6b8d (patch)
tree62b4871a3c18fdb75d04bf8ad655a7ac65e202eb /libcxxabi
parent67e5863cd90bb351464eee83b492ec58baddfb02 (diff)
downloadbcm5719-llvm-90ef25c05ed63aab61a946231332e2e708eb6b8d.tar.gz
bcm5719-llvm-90ef25c05ed63aab61a946231332e2e708eb6b8d.zip
Add version number to this library so we can recognize when we're using it.
llvm-svn: 149632
Diffstat (limited to 'libcxxabi')
-rw-r--r--libcxxabi/include/cxxabi.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcxxabi/include/cxxabi.h b/libcxxabi/include/cxxabi.h
index 6d04555148e..3ae8478bc12 100644
--- a/libcxxabi/include/cxxabi.h
+++ b/libcxxabi/include/cxxabi.h
@@ -18,9 +18,9 @@
#include <stddef.h>
#include <stdint.h>
+#define _LIBCPPABI_VERSION 1001
#define LIBCXXABI_NORETURN __attribute__((noreturn))
-
#ifdef __cplusplus
namespace std {
@@ -167,7 +167,6 @@ extern bool __cxa_uncaught_exception() throw();
} // extern "C"
} // namespace __cxxabiv1
-namespace abi = __cxxabiv1;
#endif // __cplusplus
OpenPOWER on IntegriCloud