--- src/debug.cpp 2015-03-09 06:25:34.000000000 +0100 +++ - 2018-05-09 13:16:45.359758459 +0200 @@ -14,7 +14,7 @@ #include #endif -#if !(defined _WIN32 || defined WINDOWS || defined __CYGWIN__) +#if !(defined _WIN32 || defined WINDOWS || defined __CYGWIN__) && defined(__GLIBC__) #include #include #endif @@ -309,7 +309,7 @@ debugFile.file << ": "; // Backtrace on error. -#if !(defined _WIN32 || defined WINDOWS || defined __CYGWIN__) +#if !(defined _WIN32 || defined WINDOWS || defined __CYGWIN__) && defined(__GLIBC__) if( lev == D_ERROR ) { int count = backtrace( tracePtrs, TRACE_SIZE ); char **funcNames = backtrace_symbols( tracePtrs, count );