mirror of
https://github.com/fltk/fltk.git
synced 2026-05-30 04:55:29 +08:00
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:
+1
-1
@@ -27,7 +27,7 @@
|
|||||||
* in the current patch release of FLTK. ** Use for static builds only! **
|
* 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
|
* 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_Export.H"
|
||||||
# include "fl_types.h"
|
# include "fl_types.h"
|
||||||
|
|||||||
+1
-1
@@ -379,7 +379,7 @@ static void read_children(Fl_Type *p, int paste) {
|
|||||||
if (!strcmp(c,"version")) {
|
if (!strcmp(c,"version")) {
|
||||||
c = read_word();
|
c = read_word();
|
||||||
read_version = strtod(c,0);
|
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);
|
read_error("unknown version '%s'",c);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user