Some fixes to make the amiga build work better. I finally installed gcc on my amiga, so there is a
hope of getting a working build. Everything compiles but fails when linking, because I've not figured out how to install SDL. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1464 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
4
src/io.c
4
src/io.c
@@ -299,6 +299,9 @@ int Lock_file_handle = -1;
|
||||
|
||||
byte Create_lock_file(const char *file_directory)
|
||||
{
|
||||
#ifdef __amigaos__
|
||||
#warning "Missing code for your platform, please check and correct!"
|
||||
#else
|
||||
char lock_filename[MAX_PATH_CHARACTERS];
|
||||
|
||||
strcpy(lock_filename,file_directory);
|
||||
@@ -333,6 +336,7 @@ byte Create_lock_file(const char *file_directory)
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
#endif // __amigaos__
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user