diff --git a/libcxx/include/__verbose_abort b/libcxx/include/__verbose_abort --- a/libcxx/include/__verbose_abort +++ b/libcxx/include/__verbose_abort @@ -25,7 +25,11 @@ // dependency-free (this is included everywhere else in the library). #if defined(_LIBCPP_HAS_NO_VERBOSE_ABORT_IN_LIBRARY) && !defined(_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED) +#if defined(__GLIBC__) +extern "C" void abort() __attribute__ ((__nothrow__)); +#else extern "C" void abort(); +#endif _LIBCPP_BEGIN_NAMESPACE_STD