summaryrefslogtreecommitdiffstats
path: root/src/stdexcept.cpp
diff options
context:
space:
mode:
authortheraven <theraven@FreeBSD.org>2012-05-03 16:04:02 +0000
committertheraven <theraven@FreeBSD.org>2012-05-03 16:04:02 +0000
commit481a5af2380b60317ef8e4c088b58d640e46f5bc (patch)
tree856ce4e42da23163e4316bca6732710e898f0265 /src/stdexcept.cpp
parentb72827587c708b2cc7d1ff40b1f6eab96e189dde (diff)
downloadFreeBSD-src-481a5af2380b60317ef8e4c088b58d640e46f5bc.zip
FreeBSD-src-481a5af2380b60317ef8e4c088b58d640e46f5bc.tar.gz
Import a new version of libc++ into the vendor branch.
Diffstat (limited to 'src/stdexcept.cpp')
-rw-r--r--src/stdexcept.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stdexcept.cpp b/src/stdexcept.cpp
index b516b0c..9fa4f59 100644
--- a/src/stdexcept.cpp
+++ b/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
OpenPOWER on IntegriCloud