diff options
Diffstat (limited to 'src/Fl_System_Driver.H')
| -rw-r--r-- | src/Fl_System_Driver.H | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Fl_System_Driver.H b/src/Fl_System_Driver.H index 77a58971f..73f197f95 100644 --- a/src/Fl_System_Driver.H +++ b/src/Fl_System_Driver.H @@ -98,6 +98,9 @@ public: virtual int putenv(const char *var) {return -1;} virtual int open(const char* f, int oflags, int pmode) {return -1;} + // implement these to support cross-platform string operations + virtual char *strdup(const char *s) {return NULL;} + // Note: the default implementation ignores the 'binary' argument. // Some platforms (notably Windows) may use this argument. virtual int open_ext(const char* f, int binary, int oflags, int pmode) { |
