diff options
author | theraven <theraven@FreeBSD.org> | 2012-05-03 17:44:07 +0000 |
---|---|---|
committer | theraven <theraven@FreeBSD.org> | 2012-05-03 17:44:07 +0000 |
commit | 011d8001e295ab428f3d73602d2e4fa0b248efc4 (patch) | |
tree | a0abba0a80f7ff64ba1a78df7fd8544414370f33 /contrib/libc++/src/stdexcept.cpp | |
parent | 72d6cdcd97718bf58e38b0484a01bf5c6de14bc4 (diff) | |
download | FreeBSD-src-011d8001e295ab428f3d73602d2e4fa0b248efc4.zip FreeBSD-src-011d8001e295ab428f3d73602d2e4fa0b248efc4.tar.gz |
Import new version of libc++. Among other improvements, this comes with an
<atomic> header that works with clang 3.1 (and, importantly, the pre-3.1
snapshot currently in head)
Diffstat (limited to 'contrib/libc++/src/stdexcept.cpp')
-rw-r--r-- | contrib/libc++/src/stdexcept.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/libc++/src/stdexcept.cpp b/contrib/libc++/src/stdexcept.cpp index b516b0c..9fa4f59 100644 --- a/contrib/libc++/src/stdexcept.cpp +++ b/contrib/libc++/src/stdexcept.cpp @@ -15,7 +15,11 @@ #include <cstdint> #include <cstddef> #include "system_error" + +// Use <cxxabi.h> to determine whether we're linking against libc++abi. +#if __has_include(<cxxabi.h>) #include <cxxabi.h> +#endif // Note: optimize for size |