diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_System_Driver.cxx | 3 | ||||
| -rw-r--r-- | src/drivers/Posix/Fl_Posix_System_Driver.H | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/Fl_System_Driver.cxx b/src/Fl_System_Driver.cxx index ca94789f6..98a099bd8 100644 --- a/src/Fl_System_Driver.cxx +++ b/src/Fl_System_Driver.cxx @@ -431,6 +431,9 @@ void Fl_System_Driver::remove_fd(int fd) // nothing to do, reimplement in driver if needed } +FILE *Fl_System_Driver::fopen(const char* f, const char *mode) { + return ::fopen(f, mode); +} // // End of "$Id$". diff --git a/src/drivers/Posix/Fl_Posix_System_Driver.H b/src/drivers/Posix/Fl_Posix_System_Driver.H index e23a0b94b..fb33d9e9e 100644 --- a/src/drivers/Posix/Fl_Posix_System_Driver.H +++ b/src/drivers/Posix/Fl_Posix_System_Driver.H @@ -54,7 +54,6 @@ public: } virtual char *getenv(const char *v) { return ::getenv(v); } virtual int putenv(char* v) {return ::putenv(v);} - virtual FILE *fopen(const char* f, const char *mode) {return ::fopen(f, mode);} virtual int system(const char* cmd) {return ::system(cmd);} virtual int execvp(const char *file, char *const *argv) {return ::execvp(file, argv);} virtual int chmod(const char* f, int mode) {return ::chmod(f, mode);} |
