diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pager.c | 2 | ||||
-rw-r--r-- | src/util.c | 2 |
2 files changed, 2 insertions, 2 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); } diff --git a/src/util.c b/src/util.c index e9c7cccb0..207b901ba 100644 --- a/src/util.c +++ b/src/util.c @@ -141,7 +141,7 @@ void sqlite3ErrorClear(sqlite3 *db){ */ void sqlite3SystemError(sqlite3 *db, int rc){ if( rc==SQLITE_IOERR_NOMEM ) return; -#ifdef SQLITE_USE_SEH +#if defined(SQLITE_USE_SEH) && !defined(SQLITE_OMIT_WAL) if( rc==SQLITE_IOERR_IN_PAGE ){ int ii; int iErr; |