[osx] Avoid using _fseeki64_nolock(), does not buy much and not very compatible.

This commit is contained in:
Lorenzo Cogotti 2022-12-12 19:54:38 +01:00
parent 89751336d2
commit 9f4c8b7a98
1 changed files with 1 additions and 1 deletions

2
osx.c
View File

@ -85,7 +85,7 @@ static int flocking(FILE *fh, int mode, __int64 ofs, __int64 len)
}
_lock_file(fh);
if (_fseeki64_nolock(fh, ofs, SEEK_SET) != 0)
if (_fseeki64(fh, ofs, SEEK_SET) != 0)
goto fail;
if (len == 0) {