You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
548 B

diff -u -r ../tmate-2.2.1/tmate-debug.c ./tmate-debug.c
--- ../tmate-2.2.1/tmate-debug.c 2016-03-28 23:30:07.000000000 -0400
+++ ./tmate-debug.c 2016-08-26 16:42:38.475688775 -0400
@@ -1,4 +1,6 @@
+#ifndef __ANDROID__
#include <execinfo.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <regex.h>
@@ -55,6 +57,9 @@
void tmate_print_stack_trace(void)
{
+#ifdef __ANDROID__
+ tmate_info ("Not supported on Android");
+#else
void *array[20];
size_t size;
char **strings;
@@ -73,6 +78,7 @@
}
free (strings);
+#endif
}