summaryrefslogtreecommitdiff
path: root/FL/platform_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'FL/platform_types.h')
-rw-r--r--FL/platform_types.h8
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;