1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Bug fixes in the mutex header file. Tickets #2599 and #2600. (CVS 4335)

FossilOrigin-Name: 4bdfe1419c536fec5b3c0a7fbe3d0ff52f183f43
This commit is contained in:
drh
2007-08-30 14:10:30 +00:00
parent 7751940d6e
commit c7ce76af8f
6 changed files with 25 additions and 24 deletions

View File

@@ -11,7 +11,7 @@
*************************************************************************
** This file contains the C functions that implement mutexes for win32
**
** $Id: mutex_w32.c,v 1.1 2007/08/28 16:34:43 drh Exp $
** $Id: mutex_w32.c,v 1.2 2007/08/30 14:10:30 drh Exp $
*/
#include "sqliteInt.h"
@@ -19,7 +19,7 @@
** The code in this file is only used if we are compiling multithreaded
** on a win32 system.
*/
#ifdef SQLITE_MUTEX_WIN32
#ifdef SQLITE_MUTEX_W32
/*
** Each recursive mutex is an instance of the following structure.
@@ -178,4 +178,4 @@ int sqlite3_mutex_held(sqlite3_mutex *p){
int sqlite3_mutex_notheld(sqlite3_mutex *p){
return p==0 || p->nRef==0 || p->owner!=GetCurrentThreadId();
}
#endif /* SQLITE_MUTEX_WIN */
#endif /* SQLITE_MUTEX_W32 */