diff options
Diffstat (limited to 'libbutl/ft/exception.hxx')
-rw-r--r-- | libbutl/ft/exception.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libbutl/ft/exception.hxx b/libbutl/ft/exception.hxx index a5f6156..14d9ced 100644 --- a/libbutl/ft/exception.hxx +++ b/libbutl/ft/exception.hxx @@ -5,8 +5,11 @@ #ifndef LIBBUTL_FT_EXCEPTION_HXX #define LIBBUTL_FT_EXCEPTION_HXX -#include <cstddef> // _LIBCPP_VERSION -#include <exception> +#if defined(__clang__) +# if __has_include(<__config>) +# include <__config> // _LIBCPP_VERSION +# endif +#endif // __cpp_lib_uncaught_exceptions // |