1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Fix builds with both SQLITE_ENABLE_MULTITHREADED_CHECKS and

SQLITE_THREADSAFE=0 defined.

FossilOrigin-Name: 7d0b12fcb58353b883ffce77df824a5cc8b1e913a21ec3f22fb73481a398c916
This commit is contained in:
dan
2017-11-25 21:09:29 +00:00
parent 8385becfe1
commit 61f8e86f93
3 changed files with 8 additions and 11 deletions

View File

@@ -3590,7 +3590,7 @@ int sqlite3LookasideUsed(sqlite3*,int*);
sqlite3_mutex *sqlite3Pcache1Mutex(void);
sqlite3_mutex *sqlite3MallocMutex(void);
#ifdef SQLITE_ENABLE_MULTITHREADED_CHECKS
#if defined(SQLITE_ENABLE_MULTITHREADED_CHECKS) && !defined(SQLITE_MUTEX_OMIT)
void sqlite3MutexWarnOnContention(sqlite3_mutex*);
#else
# define sqlite3MutexWarnOnContention(x)