--- ./base/debug/stack_trace.cc.orig
+++ ./base/debug/stack_trace.cc
@@ -214,7 +214,7 @@
 
 std::string StackTrace::ToString() const {
   std::stringstream stream;
-#if !defined(__UCLIBC__) && !defined(_AIX)
+#if defined(__GLIBC__) && !defined(_AIX)
   OutputToStream(&stream);
 #endif
   return stream.str();
