提交 06ebcccd authored 作者: Anthony Minessale's avatar Anthony Minessale

FSCORE-292

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11756 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 92147a7f
...@@ -25,9 +25,9 @@ ...@@ -25,9 +25,9 @@
/* /*
** Macros used to determine whether or not to use threads. ** Macros used to determine whether or not to use threads.
*/ */
#if defined(THREADSAFE) && THREADSAFE //#if defined(THREADSAFE) && THREADSAFE
# define SQLITE_W32_THREADS 1 # define SQLITE_W32_THREADS 1
#endif //#endif
/* /*
** Include code that is common to all os_*.c files ** Include code that is common to all os_*.c files
...@@ -1616,7 +1616,7 @@ void sqlite3WinEnterMutex(){ ...@@ -1616,7 +1616,7 @@ void sqlite3WinEnterMutex(){
inMutex++; inMutex++;
} }
void sqlite3WinLeaveMutex(){ void sqlite3WinLeaveMutex(){
assert( inMutex ); //assert( inMutex );
inMutex--; inMutex--;
#ifdef SQLITE_W32_THREADS #ifdef SQLITE_W32_THREADS
assert( mutexOwner==GetCurrentThreadId() ); assert( mutexOwner==GetCurrentThreadId() );
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论