diff options
Diffstat (limited to 'FL/platform_types.h')
| -rw-r--r-- | FL/platform_types.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/FL/platform_types.h b/FL/platform_types.h index 286fc68d1..9f6ed1e44 100644 --- a/FL/platform_types.h +++ b/FL/platform_types.h @@ -114,8 +114,11 @@ struct dirent {char d_name[1];}; #elif defined(__ANDROID__) -// see: src/driver/Android/Fl_Android_Graphics_Driver_region.cxx -typedef struct Fl_Clip_Rect *Fl_Region; +#ifdef __cplusplus +typedef class Fl_Rect_Region *Fl_Region; +#else +typedef struct Fl_Rect_Region *Fl_Region; +#endif // TODO: the types below have not yet been ported typedef unsigned long Fl_Offscreen; |
