diff options
Diffstat (limited to 'src/stdexcept.cpp')
-rw-r--r-- | src/stdexcept.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stdexcept.cpp b/src/stdexcept.cpp index b516b0ca68b3..9fa4f593137a 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 |