DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2858 Version: 1.3-current fltk-1.3.0 won't build out of the box on cygwin-gdi. I did the following to fix in src/fl_utf8.cxx -#if defined(WIN32) && !defined(__CYGWIN__) +#if defined(WIN32) || defined(__CYGWIN__) # include <ctype.h> # include <io.h> # include <windows.h> # include <winbase.h> # include <process.h> #ifdef __CYGWIN__ #include <wchar.h> +#include <sys/types.h> +#include <sys/stat.h> +#include <fcntl.h> +#include <unistd.h> #else #include <direct.h> #endif I'm not sure it still builds properly on msvc - I have no way to test, but the original #include logic is surely broken - there is #ifdef __CYGWIN__ inside an #ifdef that guarantees no __CYGWIN__ With this change, everything builds and runs perfectly on cygwin Link: http://www.fltk.org/str.php?L2858 Version: 1.3-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
