mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-14 08:30:58 +00:00
Replace a couple uses of S_IREAD with our platform-aware BS_IREAD
git-svn-id: https://svn.eduke32.com/eduke32@2720 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
cbbaec7694
commit
f3c009b146
1 changed files with 2 additions and 2 deletions
|
@ -82,9 +82,9 @@ int32_t SafeOpenRead(const char *filename, int32_t filetype)
|
||||||
switch (filetype)
|
switch (filetype)
|
||||||
{
|
{
|
||||||
case filetype_binary:
|
case filetype_binary:
|
||||||
return SafeOpen(filename, O_RDONLY|O_BINARY, S_IREAD);
|
return SafeOpen(filename, O_RDONLY|O_BINARY, BS_IREAD);
|
||||||
case filetype_text:
|
case filetype_text:
|
||||||
return SafeOpen(filename, O_RDONLY|O_TEXT, S_IREAD);
|
return SafeOpen(filename, O_RDONLY|O_TEXT, BS_IREAD);
|
||||||
default:
|
default:
|
||||||
initprintf("SafeOpenRead: Illegal filetype specified");
|
initprintf("SafeOpenRead: Illegal filetype specified");
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in a new issue