From 011d8001e295ab428f3d73602d2e4fa0b248efc4 Mon Sep 17 00:00:00 2001 From: theraven Date: Thu, 3 May 2012 17:44:07 +0000 Subject: Import new version of libc++. Among other improvements, this comes with an header that works with clang 3.1 (and, importantly, the pre-3.1 snapshot currently in head) --- contrib/libc++/src/stdexcept.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'contrib/libc++/src/stdexcept.cpp') 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 #include #include "system_error" + +// Use to determine whether we're linking against libc++abi. +#if __has_include() #include +#endif // Note: optimize for size -- cgit v1.1