diff options
Diffstat (limited to 'libcxx/src/string.cpp')
-rw-r--r-- | libcxx/src/string.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/src/string.cpp b/libcxx/src/string.cpp index c6fe408ca1c..daed7d25973 100644 --- a/libcxx/src/string.cpp +++ b/libcxx/src/string.cpp @@ -16,6 +16,7 @@ #ifdef _WIN32 #include "support/win32/support.h" #endif // _WIN32 +#include <stdio.h> _LIBCPP_BEGIN_NAMESPACE_STD @@ -38,6 +39,7 @@ void throw_helper( const string& msg ) #ifndef _LIBCPP_NO_EXCEPTIONS throw T( msg ); #else + printf("%s\n", msg.c_str()); abort(); #endif } |