aboutsummaryrefslogtreecommitdiff
path: root/src/pager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pager.c')
-rw-r--r--src/pager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pager.c b/src/pager.c
index 681aa5583..f779d7457 100644
--- a/src/pager.c
+++ b/src/pager.c
@@ -7792,7 +7792,7 @@ int sqlite3PagerWalFramesize(Pager *pPager){
}
#endif
-#ifdef SQLITE_USE_SEH
+#if defined(SQLITE_USE_SEH) && !defined(SQLITE_OMIT_WAL)
int sqlite3PagerWalSystemErrno(Pager *pPager){
return sqlite3WalSystemErrno(pPager->pWal);
}