From 56e145a1c8cafea814f03cec951bde2753d234f5 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 31 Mar 2016 11:01:07 +0000 Subject: Complete removing platform-dependent code from the Fl.H header file. Type FL_SOCKET is now declared in Fl_System_Driver.H with all other platform-dependent public types. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11484 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_System_Driver.cxx | 5 +++++ src/drivers/Darwin/Fl_Darwin_System_Driver.H | 1 + src/drivers/Posix/Fl_Posix_System_Driver.H | 1 + 3 files changed, 7 insertions(+) (limited to 'src') diff --git a/src/Fl_System_Driver.cxx b/src/Fl_System_Driver.cxx index 686d03ecb..60406bc09 100644 --- a/src/Fl_System_Driver.cxx +++ b/src/Fl_System_Driver.cxx @@ -18,6 +18,7 @@ #include +#include #include #include #include @@ -371,6 +372,10 @@ int Fl_System_Driver::clocale_printf(FILE *output, const char *format, va_list a return vfprintf(output, format, args); } +void Fl_System_Driver::compose_reset() { + Fl::compose_state = 0; +} + // // End of "$Id$". // diff --git a/src/drivers/Darwin/Fl_Darwin_System_Driver.H b/src/drivers/Darwin/Fl_Darwin_System_Driver.H index 29a658d5f..6926487ba 100644 --- a/src/drivers/Darwin/Fl_Darwin_System_Driver.H +++ b/src/drivers/Darwin/Fl_Darwin_System_Driver.H @@ -26,6 +26,7 @@ #define FL_DARWIN_SYSTEM_DRIVER_H #include +#include #include #include #include diff --git a/src/drivers/Posix/Fl_Posix_System_Driver.H b/src/drivers/Posix/Fl_Posix_System_Driver.H index dc5fe83a2..c1f9988f5 100644 --- a/src/drivers/Posix/Fl_Posix_System_Driver.H +++ b/src/drivers/Posix/Fl_Posix_System_Driver.H @@ -26,6 +26,7 @@ #define FL_POSIX_SYSTEM_DRIVER_H #include +#include #include #include #include -- cgit v1.2.3