diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2018-03-26 21:28:18 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2018-03-26 21:28:18 +0000 |
| commit | 3b7e1a5ec69d606488f5adf5ca15bf9baf67818f (patch) | |
| tree | 938156a6055f58590e6d77e5f0a6adcd90ac99fc /FL | |
| parent | 5040bbff1f11f83baa424021b4c75ad7a6e053f8 (diff) | |
Android: Draws Fl_Bitmap.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12807 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/platform_types.h | 8 |
1 files changed, 7 insertions, 1 deletions
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 <sys/stat.h> +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 <sys/stat.h> #include <sys/types.h> #include <dirent.h> + #elif defined(FL_PORTING) # pragma message "FL_PORTING: define OS-dependent types" typedef void* Fl_Offscreen; |
