diff options
Diffstat (limited to 'src/thread.h')
| -rw-r--r-- | src/thread.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/thread.h b/src/thread.h index 6ce2b7f30df..1844cf03967 100644 --- a/src/thread.h +++ b/src/thread.h | |||
| @@ -30,6 +30,12 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 30 | #include <signal.h> /* sigset_t */ | 30 | #include <signal.h> /* sigset_t */ |
| 31 | #endif | 31 | #endif |
| 32 | 32 | ||
| 33 | #ifdef HAVE_ANDROID | ||
| 34 | #ifndef ANDROID_STUBIFY | ||
| 35 | #include "android.h" | ||
| 36 | #endif /* ANDROID_STUBIFY */ | ||
| 37 | #endif /* HAVE_ANDROID */ | ||
| 38 | |||
| 33 | #include "sysselect.h" /* FIXME */ | 39 | #include "sysselect.h" /* FIXME */ |
| 34 | #include "systhread.h" | 40 | #include "systhread.h" |
| 35 | 41 | ||
| @@ -84,6 +90,11 @@ struct thread_state | |||
| 84 | Lisp_Object event_object; | 90 | Lisp_Object event_object; |
| 85 | /* event_object must be the last Lisp field. */ | 91 | /* event_object must be the last Lisp field. */ |
| 86 | 92 | ||
| 93 | #if defined HAVE_ANDROID && !defined ANDROID_STUBIFY | ||
| 94 | /* Pointer to an object to call Java functions through. */ | ||
| 95 | JNIEnv *java_env; | ||
| 96 | #endif /* HAVE_ANDROID && !ANDROID_STUBIFY */ | ||
| 97 | |||
| 87 | /* An address near the bottom of the stack. | 98 | /* An address near the bottom of the stack. |
| 88 | Tells GC how to save a copy of the stack. */ | 99 | Tells GC how to save a copy of the stack. */ |
| 89 | char const *m_stack_bottom; | 100 | char const *m_stack_bottom; |