diff options
| author | Manolo Gouy <Manolo> | 2016-04-11 19:14:47 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-11 19:14:47 +0000 |
| commit | 64b3d26daa983b7a1394c82b080068cb1a056950 (patch) | |
| tree | 543a65106a8057c7560e7ecf807ee2d140ee8660 /FL | |
| parent | 1411c119058743cd1b5ae68f8d076f11b9f85c10 (diff) | |
Create Fl_X11_System_Driver.{cxx,.H} and share Fl_Posix_System_Driver.{cxx,.H} between Darwin and USE_X11 platforms.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11583 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_System_Driver.H | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H index f98e1c624..66e421f24 100644 --- a/FL/Fl_System_Driver.H +++ b/FL/Fl_System_Driver.H @@ -80,7 +80,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); - virtual int putenv(char* v) {return ::putenv(v);} + virtual int putenv(char* v) {return -1;} virtual int open(const char* f, int oflags, int pmode) {return -1;} virtual FILE *fopen(const char* f, const char *mode) {return NULL;} virtual int system(const char* cmd) {return -1;} |
