mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
S_IWRITE is an obsolete synonym of S_IWUSR. Not available on Android.
This commit is contained in:
committed by
Baldur Karlsson
parent
1b475e017e
commit
a2bdda41ef
@@ -370,7 +370,7 @@ int fclose(FILE *f)
|
||||
|
||||
void *logfile_open(const char *filename)
|
||||
{
|
||||
int fd = open(filename, O_APPEND | O_WRONLY | O_CREAT, S_IWRITE);
|
||||
int fd = open(filename, O_APPEND | O_WRONLY | O_CREAT, S_IWUSR);
|
||||
return (void *)(intptr_t)fd;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user