summaryrefslogtreecommitdiff
path: root/src/runtime/c/sg/sqlite3Btree.c
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2017-03-14 11:07:14 +0000
committerkrasimir <krasimir@chalmers.se>2017-03-14 11:07:14 +0000
commitf09507cb0f9c5c72445db6327d90e10484d05baa (patch)
tree1a5c91b6a130473c9af210517f9aac34de03486e /src/runtime/c/sg/sqlite3Btree.c
parentf1240ef4899796fdc37ce19cca1845fabba1a3a6 (diff)
fix the compilation of sqlite3Btree.c on Windows
Diffstat (limited to 'src/runtime/c/sg/sqlite3Btree.c')
-rw-r--r--src/runtime/c/sg/sqlite3Btree.c2
1 files changed, 1 insertions, 1 deletions
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;