aboutsummaryrefslogtreecommitdiff
path: root/src/mutex_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2008-06-19 16:07:07 +0000
committerdrh <drh@noemail.net>2008-06-19 16:07:07 +0000
commita418980be032a87a09845b8badacce197cf87b87 (patch)
treee6aff5f9ae3fd94543ca700ec79121b17c956793 /src/mutex_unix.c
parentd72a841467f2c6deff2b7b3a67a184e7c2047081 (diff)
downloadsqlite-a418980be032a87a09845b8badacce197cf87b87.tar.gz
sqlite-a418980be032a87a09845b8badacce197cf87b87.zip
Fix some minor compile problems. (CVS 5248)
FossilOrigin-Name: 7d38da3eea9ce93f32e90fce0af5101e2cf12462
Diffstat (limited to 'src/mutex_unix.c')
-rw-r--r--src/mutex_unix.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mutex_unix.c b/src/mutex_unix.c
index 55c3929be..5288ae42f 100644
--- a/src/mutex_unix.c
+++ b/src/mutex_unix.c
@@ -11,7 +11,7 @@
*************************************************************************
** This file contains the C functions that implement mutexes for pthreads
**
-** $Id: mutex_unix.c,v 1.11 2008/06/19 08:51:24 danielk1977 Exp $
+** $Id: mutex_unix.c,v 1.12 2008/06/19 16:07:07 drh Exp $
*/
#include "sqliteInt.h"
@@ -313,9 +313,10 @@ sqlite3_mutex_methods *sqlite3DefaultMutex(void){
pthreadMutexEnter,
pthreadMutexTry,
pthreadMutexLeave,
-
+#ifdef SQLITE_DEBUG
pthreadMutexHeld,
pthreadMutexNotheld
+#endif
};
return &sMutex;