[master] a20c210 - Solves issue #143.

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] a20c210 - Solves issue #143. "Greg Ercolano" 23:47 Sep 23 top right image
 
commit a20c2103ecf41a26b4fedbb19386a831f6c81dcc
Author:     Greg Ercolano <erco@seriss.com>
AuthorDate: Wed Sep 23 22:42:12 2020 -0700
Commit:     Greg Ercolano <erco@seriss.com>
CommitDate: Wed Sep 23 22:42:12 2020 -0700

    Solves issue #143.

 src/drivers/Android/Fl_Android_System_Driver.H | 2 ++
 1 file changed, 2 insertions(+)

diff --git src/drivers/Android/Fl_Android_System_Driver.H src/drivers/Android/Fl_Android_System_Driver.H
index 84f8262..5e6dafb 100644
--- src/drivers/Android/Fl_Android_System_Driver.H
+++ src/drivers/Android/Fl_Android_System_Driver.H
@@ -22,6 +22,7 @@
 #ifndef FL_ANDROID_SYSTEM_DRIVER_H
 #define FL_ANDROID_SYSTEM_DRIVER_H
 
+#include <string.h>
 #include <FL/fl_string.h>
 #include "../../Fl_System_Driver.H"
 #include <stdarg.h>
@@ -123,6 +124,7 @@ public:
   virtual void remove_fd(int);
   virtual void gettime(time_t *sec, int *usec);
 #endif
+  virtual char *strdup(const char *s) {return ::strdup(s);}
 };
 
 #endif // FL_ANDROID_SYSTEM_DRIVER_H
Direct Link to Message ]
 
bottom left image   bottom right image
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2020 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.