From 130a0ef8daa24bf1b14392615e067940f6c5d035 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 14 Apr 2016 21:29:02 +0000 Subject: PicoSDL fixes - not working! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Window.H | 1 + FL/platform_types.h | 2 +- FL/porting.H | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) (limited to 'FL') 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; }; -- cgit v1.2.3