aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pager.h2
-rw-r--r--src/wal.h1
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
diff --git a/src/wal.h b/src/wal.h
index d39bb50f3..1b17d2dfb 100644
--- a/src/wal.h
+++ b/src/wal.h
@@ -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