From 9bfa6a9a708461f68ab369e4ac0c77f6737db2e3 Mon Sep 17 00:00:00 2001 From: luoliangyi <87842688@qq.com> Date: Wed, 26 Oct 2022 09:55:20 +0800 Subject: [PATCH] =?UTF-8?q?websdk=E4=B8=ADfcntl=E8=B0=83=E7=94=A8=E5=BC=BA?= =?UTF-8?q?=E8=A1=8C=E6=8C=87=E5=AE=9A=E4=B8=BA=E6=97=A7=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- third_party/sqlite/sqlite3.c | 4 ++++ 1 file changed, 4 insertions(+) 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