aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mutex.c b/src/mutex.c
index 6ceb46b07..c7385158b 100644
--- a/src/mutex.c
+++ b/src/mutex.c
@@ -18,7 +18,7 @@
*/
#include "sqliteInt.h"
-#ifdef SQLITE_DEBUG
+#if defined(SQLITE_DEBUG) && !defined(SQLITE_MUTEX_OMIT)
/*
** For debugging purposes, record when the mutex subsystem is initialized
** and uninitialized so that we can assert() if there is an attempt to