From 3b7e1a5ec69d606488f5adf5ca15bf9baf67818f Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 26 Mar 2018 21:28:18 +0000 Subject: Android: Draws Fl_Bitmap. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12807 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/platform_types.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/platform_types.h b/FL/platform_types.h index 9f6ed1e44..d90e37afa 100644 --- a/FL/platform_types.h +++ b/FL/platform_types.h @@ -72,6 +72,12 @@ typedef opaque GLContext; /**< an OpenGL graphics context, into which all OpenGL typedef intptr_t fl_intptr_t; typedef uintptr_t fl_uintptr_t; +#elif defined(__ANDROID__) + +#include +typedef intptr_t fl_intptr_t; +typedef uintptr_t fl_uintptr_t; + #else /* ! _WIN64 */ typedef long fl_intptr_t; @@ -125,10 +131,10 @@ typedef unsigned long Fl_Offscreen; typedef unsigned long Fl_Bitmask; typedef int FL_SOCKET; typedef struct __GLXcontextRec *GLContext; -#include #include #include + #elif defined(FL_PORTING) # pragma message "FL_PORTING: define OS-dependent types" typedef void* Fl_Offscreen; -- cgit v1.2.3