The fallback path for no libunwind ends up being stubs for Android.
Don't compile them in so we can provide our own implementation.

Signed-off-by: Stefan Schake <stsch...@gmail.com>
---
 src/gallium/auxiliary/util/u_debug_stack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/util/u_debug_stack.c 
b/src/gallium/auxiliary/util/u_debug_stack.c
index 846f648..5cbb54f 100644
--- a/src/gallium/auxiliary/util/u_debug_stack.c
+++ b/src/gallium/auxiliary/util/u_debug_stack.c
@@ -194,7 +194,7 @@ debug_backtrace_print(FILE *f,
    }
 }
 
-#else /* ! HAVE_LIBUNWIND */
+#elif !defined(ANDROID) /* ! HAVE_LIBUNWIND */
 
 #if defined(PIPE_OS_WINDOWS)
 #include <windows.h>
-- 
2.7.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to