[Mesa-dev] [PATCH 1/2] gallium/util: Don't stub u_debug_stack on Android
Stefan Schake
stschake at gmail.com
Wed Mar 28 22:19:00 UTC 2018
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 <stschake at 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
More information about the mesa-dev
mailing list