Fix build on gp2x.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1351 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2010-02-16 12:56:24 +00:00
parent 4219ca839d
commit 13865a0ade
4 changed files with 9 additions and 1 deletions

2
io.c
View File

@@ -316,7 +316,7 @@ byte Create_lock_file(const char *file_directory)
{
return -1;
}
#else
#elseif !defined(__GP2X__) // gp2x does not defines F_TLOCK and is not really multitasking anyway
// Unixy method for lock file
Lock_file_handle = open(lock_filename,O_WRONLY|O_CREAT,S_IRUSR|S_IWUSR);
if (Lock_file_handle == -1)