summaryrefslogtreecommitdiff
path: root/include
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
commit53cf764ab4a40b1e445e9e20219f950d621fcf53 (patch)
tree3a66c07b62a56f1004189cd6edaca9f8cf71a69e /include
parente35bb601572fd3b1163b16141a3440afd6bb99e3 (diff)
Add version number to this library so we can recognize when we're using it.
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@149632 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/cxxabi.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/cxxabi.h b/include/cxxabi.h
index 6d04555..3ae8478 100644
--- a/include/cxxabi.h
+++ b/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