Commit | Line | Data |
---|---|---|
6d661def FF |
1 | diff -u -r ../tmate-2.2.1/tmate-debug.c ./tmate-debug.c |
2 | --- ../tmate-2.2.1/tmate-debug.c 2016-03-28 23:30:07.000000000 -0400 | |
3 | +++ ./tmate-debug.c 2016-08-26 16:42:38.475688775 -0400 | |
4 | @@ -1,4 +1,6 @@ | |
5 | +#ifndef __ANDROID__ | |
6 | #include <execinfo.h> | |
7 | +#endif | |
8 | #include <stdio.h> | |
9 | #include <stdlib.h> | |
10 | #include <regex.h> | |
11 | @@ -55,6 +57,9 @@ | |
12 | ||
13 | void tmate_print_stack_trace(void) | |
14 | { | |
15 | +#ifdef __ANDROID__ | |
16 | + tmate_info ("Not supported on Android"); | |
17 | +#else | |
18 | void *array[20]; | |
19 | size_t size; | |
20 | char **strings; | |
21 | @@ -73,6 +78,7 @@ | |
22 | } | |
23 | ||
24 | free (strings); | |
25 | +#endif | |
26 | } | |
27 | ||
28 |