summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-04-14 21:29:02 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-04-14 21:29:02 +0000
commit130a0ef8daa24bf1b14392615e067940f6c5d035 (patch)
tree4f63959ff503f1bc399e102fe4d64eeca0b1eabf /FL
parent03e87bb2704155bd45b1eb9f8207ff660bea16d1 (diff)
PicoSDL fixes - not working!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Window.H1
-rw-r--r--FL/platform_types.h2
-rw-r--r--FL/porting.H1
3 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H
index da2baf7de..aa0e43cb1 100644
--- a/FL/Fl_Window.H
+++ b/FL/Fl_Window.H
@@ -70,6 +70,7 @@ class FL_EXPORT Fl_Window : public Fl_Group {
friend class Fl_X;
friend class Fl_Window_Driver;
friend class Fl_PicoAndroid_Window_Driver;
+ friend class Fl_PicoSDL_Window_Driver;
Fl_X *i; // points at the system-specific stuff, but exists only after the window is mapped
Fl_Window_Driver *pWindowDriver; // points at the system-specific stuff at window creation time
diff --git a/FL/platform_types.h b/FL/platform_types.h
index d2308be09..e8fbe86ca 100644
--- a/FL/platform_types.h
+++ b/FL/platform_types.h
@@ -64,7 +64,7 @@ struct dirent {char d_name[1];};
# pragma message "FL_PORTING: define struct stat and implement stat() for the platform"
struct stat { /* the FLTK source code uses part of the stat() API */
unsigned st_mode;
- off_t st_size;
+ unsigned st_size;
};
#define S_IFMT 0170000 /* type of file */
#define S_IFDIR 0040000 /* directory */
diff --git a/FL/porting.H b/FL/porting.H
index c9c68b2e7..59d48e6fa 100644
--- a/FL/porting.H
+++ b/FL/porting.H
@@ -38,7 +38,6 @@ typedef void *Fl_Region;
typedef void *Fl_Offscreen;
# include "Fl_Window.H"
-# include "../src/Fl_Font.H"
// Some random X equivalents
struct XPoint { int x, y; };