python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / qt5-webkit / patches / qt-musl-execinfo.patch
blobb6acce4e5d66804a03f33d10fc672a339be58f92
1 --- Source/WTF/wtf/Assertions.cpp 2016-02-04 13:58:47.000000000 +0100
2 +++ Source/WTF/wtf/Assertions.cpp 2016-03-17 17:42:38.194682870 +0100
3 @@ -61,7 +61,7 @@
4 #include <windows.h>
5 #endif
7 -#if (OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID)
8 +#if (OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__))) && !OS(ANDROID)
9 #include <cxxabi.h>
10 #include <dlfcn.h>
11 #include <execinfo.h>
12 @@ -245,7 +245,7 @@
14 void WTFGetBacktrace(void** stack, int* size)
16 -#if (OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID)
17 +#if (OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__))) && !OS(ANDROID)
18 *size = backtrace(stack, *size);
19 #elif OS(WINDOWS) && !OS(WINCE)
20 // The CaptureStackBackTrace function is available in XP, but it is not defined