Some minor changes to make it compile on AROS.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1649 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
masta.uy
2010-11-13 20:05:12 +00:00
parent aeb7f26809
commit 0bfc627094
4 changed files with 19 additions and 2 deletions

View File

@@ -118,6 +118,8 @@ void Set_data_directory(const char * program_dir, char * data_dir)
#elif defined (__GP2X__) || defined (__gp2x__) || defined (__WIZ__) || defined (__CAANOO__)
strcat(data_dir,"share/grafx2/");
// All other targets, program is in a "bin" subdirectory
#elif defined (__AROS__)
strcat(data_dir,"/share/grafx2/");
#else
strcat(data_dir,"../share/grafx2/");
#endif