diff --git a/third_party/sqlite/sqlite3.c b/third_party/sqlite/sqlite3.c index 07564294..0a678373 100644 --- a/third_party/sqlite/sqlite3.c +++ b/third_party/sqlite/sqlite3.c @@ -35158,6 +35158,10 @@ static int posixOpen(const char *zFile, int flags, int mode){ static int openDirectory(const char*, int*); static int unixGetpagesize(void); +#if !defined(_MSC_VER) +asm (".symver fcntl64, fcntl@GLIBC_2.2.5"); +#endif + /* ** Many system calls are accessed through pointer-to-functions so that ** they may be overridden at runtime to facilitate fault injection during