aboutsummaryrefslogtreecommitdiff
path: root/net/uwsgi-cgi/patches/010-uclibc-ng.patch
blob: e967320d95956d82ee382169586bcf1ce094081a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/core/uwsgi.c
+++ b/core/uwsgi.c
@@ -1820,7 +1820,7 @@ void uwsgi_plugins_atexit(void) {
 
 void uwsgi_backtrace(int depth) {
 
-#if defined(__GLIBC__) || (defined(__APPLE__) && !defined(NO_EXECINFO)) || defined(UWSGI_HAS_EXECINFO)
+#if (!defined(__UCLIBC__) && defined(__GLIBC__)) || (defined(__APPLE__) && !defined(NO_EXECINFO)) || defined(UWSGI_HAS_EXECINFO)
 
 #include <execinfo.h>