From e508b6e92443d2d917059138e1ed9c9504a626b9 Mon Sep 17 00:00:00 2001 From: krasimir Date: Tue, 14 Mar 2017 11:07:14 +0000 Subject: [PATCH] fix the compilation of sqlite3Btree.c on Windows --- src/runtime/c/sg/sqlite3Btree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/c/sg/sqlite3Btree.c b/src/runtime/c/sg/sqlite3Btree.c index f575c93ab..999606791 100644 --- a/src/runtime/c/sg/sqlite3Btree.c +++ b/src/runtime/c/sg/sqlite3Btree.c @@ -20751,7 +20751,7 @@ static int winFileControl(sqlite3_file *id, int op, void *pArg){ OSTRACE(("FCNTL file=%p, rc=SQLITE_OK\n", pFile->h)); return SQLITE_OK; } - case SQLITE_LAST_ERRNO: { + case SQLITE_FCNTL_LAST_ERRNO: { *(int*)pArg = (int)pFile->lastErrno; OSTRACE(("FCNTL file=%p, rc=SQLITE_OK\n", pFile->h)); return SQLITE_OK;