at 18.09-beta 20 lines 711 B view raw
1--- webkitgtk-2.2.0.orig/Source/WTF/wtf/Assertions.cpp 2+++ webkitgtk-2.2.0/Source/WTF/wtf/Assertions.cpp 3@@ -64,7 +64,7 @@ 4 #include <windows.h> 5 #endif 6 7-#if OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__)) 8+#if OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__)) 9 #include <cxxabi.h> 10 #include <dlfcn.h> 11 #include <execinfo.h> 12@@ -242,7 +242,7 @@ 13 14 void WTFGetBacktrace(void** stack, int* size) 15 { 16-#if OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__)) 17+#if OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__)) 18 *size = backtrace(stack, *size); 19 #elif OS(WINDOWS) && !OS(WINCE) 20 // The CaptureStackBackTrace function is available in XP, but it is not defined