Fix build on gp2x.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1351 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
2
io.c
2
io.c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user