1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Fix some minor #ifdef issues so that all of the supported compile-time

options continue to build.

FossilOrigin-Name: d8cf407046f20b0398f19acd0dab6acb6c742911e21e1003cb5b194dd668d98e
This commit is contained in:
drh
2021-06-15 18:46:06 +00:00
parent 17adf4e5a1
commit f54e79405e
4 changed files with 12 additions and 9 deletions

View File

@@ -8068,6 +8068,7 @@ int sqlite3_os_init(void){
}
unixBigLock = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_VFS1);
#ifndef SQLITE_OMIT_WAL
/* Validate lock assumptions */
assert( SQLITE_SHM_NLOCK==8 ); /* Number of available locks */
assert( UNIX_SHM_BASE==120 ); /* Start of locking area */
@@ -8083,6 +8084,8 @@ int sqlite3_os_init(void){
** DMS UNIX_SHM_BASE+8 128
*/
assert( UNIX_SHM_DMS==128 ); /* Byte offset of the deadman-switch */
#endif
return SQLITE_OK;
}