--- Source/WTF/wtf/Assertions.cpp 2016-02-04 13:58:47.000000000 +0100 +++ Source/WTF/wtf/Assertions.cpp 2016-03-17 17:42:38.194682870 +0100 @@ -61,7 +61,7 @@ #include #endif -#if (OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID) +#if (OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__))) && !OS(ANDROID) #include #include #include @@ -245,7 +245,7 @@ void WTFGetBacktrace(void** stack, int* size) { -#if (OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID) +#if (OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__))) && !OS(ANDROID) *size = backtrace(stack, *size); #elif OS(WINDOWS) && !OS(WINCE) // The CaptureStackBackTrace function is available in XP, but it is not defined