FSCORE-292

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11756 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-02-11 15:15:44 +00:00
parent 92147a7f7c
commit 06ebcccd65

View File

@ -25,9 +25,9 @@
/*
** Macros used to determine whether or not to use threads.
*/
#if defined(THREADSAFE) && THREADSAFE
//#if defined(THREADSAFE) && THREADSAFE
# define SQLITE_W32_THREADS 1
#endif
//#endif
/*
** Include code that is common to all os_*.c files
@ -1616,7 +1616,7 @@ void sqlite3WinEnterMutex(){
inMutex++;
}
void sqlite3WinLeaveMutex(){
assert( inMutex );
//assert( inMutex );
inMutex--;
#ifdef SQLITE_W32_THREADS
assert( mutexOwner==GetCurrentThreadId() );