diff options
author | chw <chw@noemail.net> | 2008-11-17 08:05:31 +0000 |
---|---|---|
committer | chw <chw@noemail.net> | 2008-11-17 08:05:31 +0000 |
commit | 971854898a42c2e3913dbf71407d4dbbbbd21447 (patch) | |
tree | a9610b521a619034e68b1561372e40478ee72b81 /src/mutex_unix.c | |
parent | d92db531c8e9825fc9ae807b04ca3d99998b9942 (diff) | |
download | sqlite-971854898a42c2e3913dbf71407d4dbbbbd21447.tar.gz sqlite-971854898a42c2e3913dbf71407d4dbbbbd21447.zip |
Added support for vxworks >= 6.4; RTP mode tested, kernel mode untested. (CVS 5910)
FossilOrigin-Name: f45a1493636a5ee474dd6c0b5d286be2249b05aa
Diffstat (limited to 'src/mutex_unix.c')
-rw-r--r-- | src/mutex_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mutex_unix.c b/src/mutex_unix.c index 31f9a97b9..b6e4c7643 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.13 2008/07/16 12:33:24 drh Exp $ +** $Id: mutex_unix.c,v 1.14 2008/11/17 08:05:32 chw Exp $ */ #include "sqliteInt.h" @@ -61,7 +61,7 @@ struct sqlite3_mutex { ** make sure no assert() statements are evaluated and hence these ** routines are never called. */ -#ifndef NDEBUG +#if !defined(NDEBUG) || defined(SQLITE_DEBUG) static int pthreadMutexHeld(sqlite3_mutex *p){ return (p->nRef!=0 && pthread_equal(p->owner, pthread_self())); } |