diff options
author | stephan <stephan@noemail.net> | 2023-12-22 15:41:13 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2023-12-22 15:41:13 +0000 |
commit | 09e6c82d56a642f2b213c55fbe33b09d23b179b1 (patch) | |
tree | b49171f9dfae1c74aa0eb77886dbf4ae36196c1f /src | |
parent | 0810150532cf54f5b6945e9a650468f13298373c (diff) | |
download | sqlite-09e6c82d56a642f2b213c55fbe33b09d23b179b1.tar.gz sqlite-09e6c82d56a642f2b213c55fbe33b09d23b179b1.zip |
Update #ifdef checks in pager.c and util.c to account for [0462a2612d1fc1d0] to resolve the build problem reported in [forum:9819032aac|forum post 9819032aac].
FossilOrigin-Name: 0f22d809a1c6c80e381f6bcd931fe4ec36dca0e28d07ab4f4f7f83c813424f60
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; |