summaryrefslogtreecommitdiffstats
path: root/main/mesa/mesa-7.10-uclibc-gallium.patch
blob: a14743bc172bf1b263b4dfc7d9e05959fcab5acf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Mesa-7.10.orig/src/gallium/auxiliary/util/u_debug_symbol.c
+++ Mesa-7.10/src/gallium/auxiliary/util/u_debug_symbol.c
@@ -145,7 +145,7 @@
 }
 #endif
 
-#ifdef __GLIBC__
+#if defined(__GLIBC__) && !defined(__UCLIBC__)
 #include <execinfo.h>
 
 /* This can only provide dynamic symbols, or binary offsets into a file.
@@ -171,7 +171,7 @@
       return;
 #endif
 
-#ifdef __GLIBC__
+#if defined(__GLIBC__) && !defined(__UCLIBC__)
    debug_symbol_name_glibc(addr, buf, size);
    if(buf[0])
       return;