From: Sebastian B. <sb...@us...> - 2004-12-23 16:43:03
|
Update of /cvsroot/simplemail/simplemail/amiga-mui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13372/amiga-mui Modified Files: gui_main.c Log Message: When compiling for AMIGAOS4 open version 45 of rexxsyslib.library Index: gui_main.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/amiga-mui/gui_main.c,v retrieving revision 1.75 retrieving revision 1.76 diff -u -d -r1.75 -r1.76 --- gui_main.c 14 Dec 2004 22:41:49 -0000 1.75 +++ gui_main.c 23 Dec 2004 16:42:40 -0000 1.76 @@ -288,11 +288,19 @@ *****************************************************************/ int all_init(void) { + int rexxsyslib_version; + SM_ENTER; +#ifdef __AMIGAOS4__ + rexxsyslib_version = 45; +#else + rexxsyslib_version = 0; +#endif + if ((MUIMasterBase = OpenLibraryInterface(MUIMASTER_NAME, MUIMASTER_VMIN,&IMUIMaster))) { - if ((RexxSysBase = OpenLibraryInterface("rexxsyslib.library",0,&IRexxSys))) + if ((RexxSysBase = OpenLibraryInterface("rexxsyslib.library",rexxsyslib_version,&IRexxSys))) { SimpleHTMLBase = OpenLibraryInterface("PROGDIR:Libs/simplehtml.library",0,&ISimpleHTML); if (!SimpleHTMLBase) SimpleHTMLBase = OpenLibraryInterface("PROGDIR:simplehtml.library",0,&ISimpleHTML); @@ -331,7 +339,7 @@ } else puts(_("Couldn't create appicon port\n")); } else puts(_("Couldn't create arexx port\n")); } else printf(_("Couldn't open %s version %d\n"),"simplehtml.library",0); - } else printf(_("Couldn't open %s version %d\n"),"rexxsyslib.library",0); + } else printf(_("Couldn't open %s version %d\n"),"rexxsyslib.library",rexxsyslib_version); } else printf(_("Couldn't open %s version %d\n"),MUIMASTER_NAME,MUIMASTER_VMIN); SM_LEAVE; |