Leonid Plyushch
5 years ago
2 changed files with 3 additions and 31 deletions
@ -1,28 +0,0 @@ |
|||||
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
|
|
||||
} |
|
||||
|
|
||||
|
|
Loading…
Reference in new issue