diff options
Diffstat (limited to 'src/androidgui.h')
-rw-r--r-- | src/androidgui.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/androidgui.h b/src/androidgui.h index 3b3e08ca024..79e42c7947c 100644 --- a/src/androidgui.h +++ b/src/androidgui.h @@ -19,6 +19,8 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ #ifndef _ANDROID_GUI_H_ #define _ANDROID_GUI_H_ +#include <stdint.h> + struct android_char_struct { int rbearing; @@ -30,7 +32,8 @@ struct android_char_struct typedef struct android_char_struct XCharStruct; -typedef unsigned short android_handle; +/* Handles are but JNI handles cast to intptr_t. */ +typedef intptr_t android_handle; typedef android_handle android_pixmap, Emacs_Pixmap; typedef android_handle android_window, Emacs_Window; |