Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
108 user(s) are online (51 user(s) are browsing Forums)

Members: 0
Guests: 108

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: Porting to AmigaOS4 thread

Subject: Re: Porting to AmigaOS4 thread
by kas1e on 2019/2/15 12:31:05

@Thematic
Alternatively, if you do not want to touch system headers as Hans show, you can do some workaround like we do in Barony:

#ifdef __amigaos4__
    
char buff[50] = {0};
    
sprintf(buff"savegames/savegame%d"saveIndex);
    
std::string filename buff;
#else
    
std::string filename "savegames/savegame" std::to_string(saveIndex);
#endif


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project