mirror of https://github.com/fltk/fltk
Adjust fluid/file.cxx so that it builds again on OSX.
I don't think this change will prevent the prior "fix" workaround that Albrecht made from working on cygwin... Probably! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10381 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
de1d03cd52
commit
f344e4a459
|
@ -27,7 +27,7 @@
|
|||
* in the current patch release of FLTK. ** Use for static builds only! **
|
||||
* For more info on this macro, see: http://fltk.org/cmp.php#FLTK_ABI_VERSION
|
||||
*/
|
||||
//#define FLTK_ABI_VERSION 10303
|
||||
#define FLTK_ABI_VERSION 10303
|
||||
|
||||
# include "Fl_Export.H"
|
||||
# include "fl_types.h"
|
||||
|
|
|
@ -379,7 +379,7 @@ static void read_children(Fl_Type *p, int paste) {
|
|||
if (!strcmp(c,"version")) {
|
||||
c = read_word();
|
||||
read_version = strtod(c,0);
|
||||
if (read_version<=0 || read_version>double(FL_VERSION+0.00001d))
|
||||
if (read_version<=0 || read_version>double(FL_VERSION+0.00001))
|
||||
read_error("unknown version '%s'",c);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue