diff options
author | drh <> | 2023-08-21 15:29:21 +0000 |
---|---|---|
committer | drh <> | 2023-08-21 15:29:21 +0000 |
commit | ba481c375688cbb62a5d0c1cdcd1bcd3a1b2c7c4 (patch) | |
tree | f75bb336d75c65d0c213eae8aed2e094ce373152 /src | |
parent | 3404b452a42d9a80d0df652fada6bb35f87e8867 (diff) | |
download | sqlite-ba481c375688cbb62a5d0c1cdcd1bcd3a1b2c7c4.tar.gz sqlite-ba481c375688cbb62a5d0c1cdcd1bcd3a1b2c7c4.zip |
ifdef adjustments so that SQLITE_OMIT_WAL works with SQLITE_USE_SEH.
FossilOrigin-Name: 0462a2612d1fc1d077acf60ef415f358aa2c44174c4ef28f4bbfdbcbf03d3b7c
Diffstat (limited to 'src')
-rw-r--r-- | src/pager.h | 2 | ||||
-rw-r--r-- | src/wal.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/pager.h b/src/pager.h index 10c1acd9b..044c2573e 100644 --- a/src/pager.h +++ b/src/pager.h @@ -240,7 +240,7 @@ void sqlite3PagerRekey(DbPage*, Pgno, u16); # define enable_simulated_io_errors() #endif -#ifdef SQLITE_USE_SEH +#if defined(SQLITE_USE_SEH) && !defined(SQLITE_OMIT_WAL) int sqlite3PagerWalSystemErrno(Pager*); #endif @@ -45,6 +45,7 @@ # define sqlite3WalFramesize(z) 0 # define sqlite3WalFindFrame(x,y,z) 0 # define sqlite3WalFile(x) 0 +# undef SQLITE_USE_SEH #else #define WAL_SAVEPOINT_NDATA 4 |