From 4c1b92eb52db567b4c1618222bb3007a2a2e7d9b Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 10 Feb 2020 11:55:34 +0100 Subject: Implement fl_putenv() as cross-platform putenv() --- src/Fl_System_Driver.H | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Fl_System_Driver.H') 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. -- cgit v1.2.3