From 9f4c8b7a98f4625576fee26382db4c08595bf440 Mon Sep 17 00:00:00 2001 From: Lorenzo Cogotti Date: Mon, 12 Dec 2022 19:54:38 +0100 Subject: [PATCH] [osx] Avoid using _fseeki64_nolock(), does not buy much and not very compatible. --- osx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osx.c b/osx.c index 9b1e16d..264ad3a 100644 --- a/osx.c +++ b/osx.c @@ -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) {