From 789ed089c903922d0d66fcc2849dd24fbcaf2495 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 12 Oct 2017 14:42:12 +0000 Subject: Add fl_open_ext() to control whether the file is opened in binary/text mode. This new function allows to write Fl_SVG_Image::fl_gzopen() in a completely platform-independent way. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12489 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/drivers/WinAPI/Fl_WinAPI_System_Driver.H | 1 + 1 file changed, 1 insertion(+) (limited to 'src/drivers/WinAPI/Fl_WinAPI_System_Driver.H') diff --git a/src/drivers/WinAPI/Fl_WinAPI_System_Driver.H b/src/drivers/WinAPI/Fl_WinAPI_System_Driver.H index 43e0f54e2..fdc686fed 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_System_Driver.H +++ b/src/drivers/WinAPI/Fl_WinAPI_System_Driver.H @@ -50,6 +50,7 @@ public: virtual char *getenv(const char* v); virtual int putenv(char* v) {return _putenv(v);} virtual int open(const char* f, int oflags, int pmode); + virtual int open_ext(const char* f, int translation, int oflags, int pmode); virtual FILE *fopen(const char* f, const char *mode); virtual int system(const char* cmd); virtual int execvp(const char *file, char *const *argv); -- cgit v1.2.3