diff options
Diffstat (limited to 'src/stdexcept.cpp')
| -rw-r--r-- | src/stdexcept.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stdexcept.cpp b/src/stdexcept.cpp index 90d8a34b82deb..3f333309dd8f1 100644 --- a/src/stdexcept.cpp +++ b/src/stdexcept.cpp @@ -14,7 +14,8 @@ #include "__refstring" /* For _LIBCPPABI_VERSION */ -#if defined(LIBCXX_BUILDING_LIBCXXABI) || defined(__APPLE__) || defined(LIBCXXRT) +#if !defined(_LIBCPP_BUILDING_HAS_NO_ABI_LIBRARY) && \ + (defined(LIBCXX_BUILDING_LIBCXXABI) || defined(__APPLE__) || defined(LIBCXXRT)) #include <cxxabi.h> #endif |
