diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-02-10 11:55:34 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-02-10 12:10:40 +0100 |
| commit | 4c1b92eb52db567b4c1618222bb3007a2a2e7d9b (patch) | |
| tree | 58081f8e02a8d43dc273de033d454c16e9946f28 /src/Fl_System_Driver.H | |
| parent | dcb848ca3ed0ebddd4f28888d2a8ab2f59c9fd1c (diff) | |
Implement fl_putenv() as cross-platform putenv()
Diffstat (limited to 'src/Fl_System_Driver.H')
| -rw-r--r-- | src/Fl_System_Driver.H | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_System_Driver.H b/src/Fl_System_Driver.H index c3f8dc013..67f608177 100644 --- a/src/Fl_System_Driver.H +++ b/src/Fl_System_Driver.H @@ -4,17 +4,17 @@ // A base class for platform specific system calls // for the Fast Light Tool Kit (FLTK). // -// Copyright 2010-2018 by Bill Spitzak and others. +// Copyright 2010-2020 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this // file is missing or damaged, see the license at: // -// http://www.fltk.org/COPYING.php +// https://www.fltk.org/COPYING.php // // Please report all bugs and problems on the following page: // -// http://www.fltk.org/str.php +// https://www.fltk.org/str.php // /** @@ -97,7 +97,7 @@ public: // implement these to support cross-platform file operations virtual char *utf2mbcs(const char *s) {return (char*)s;} virtual char *getenv(const char* v) {return NULL;} - virtual int putenv(char* v) {return -1;} + virtual int putenv(const char *var) {return -1;} virtual int open(const char* f, int oflags, int pmode) {return -1;} // Note: the default implementation ignores the 'binary' argument. |
