summaryrefslogtreecommitdiff
path: root/contrib/libc++/src/stdexcept.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-05-26 18:52:49 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-05-26 18:52:49 +0000
commit9729cf09342823ba32d77ab1ea12b7ae84f7c904 (patch)
tree87163f0ca4abe85acc120b605dcfa6b9c46b29cd /contrib/libc++/src/stdexcept.cpp
parentd3dd0204252966f7ae13a28bba0f49356b4d3311 (diff)
parentbb5e33f003797b67974a8893f7f2930fc51b8210 (diff)
Notes
Diffstat (limited to 'contrib/libc++/src/stdexcept.cpp')
-rw-r--r--contrib/libc++/src/stdexcept.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/contrib/libc++/src/stdexcept.cpp b/contrib/libc++/src/stdexcept.cpp
index aff4b1850d36..0a08bfec27ec 100644
--- a/contrib/libc++/src/stdexcept.cpp
+++ b/contrib/libc++/src/stdexcept.cpp
@@ -13,12 +13,8 @@
#include "string"
#include "system_error"
-#ifndef __has_include
-#define __has_include(inc) 0
-#endif
-
/* For _LIBCPPABI_VERSION */
-#if __has_include(<cxxabi.h>) || defined(__APPLE_) || defined(LIBCXXRT)
+#if defined(LIBCXX_BUILDING_LIBCXXABI) || defined(__APPLE__) || defined(LIBCXXRT)
#include <cxxabi.h>
#endif