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

@@ -19,7 +19,7 @@
** Source files should #include the sqliteInt.h file and let that file
** include this one indirectly.
**
** $Id: mutex.h,v 1.1 2007/08/28 16:34:43 drh Exp $
** $Id: mutex.h,v 1.2 2007/08/30 14:10:30 drh Exp $
*/
@@ -44,7 +44,7 @@
**
** SQLITE_MUTEX_PTHREADS For multi-threaded applications on Unix.
**
** SQLITE_MUTEX_WIN For multi-threaded applications on Win32.
** SQLITE_MUTEX_W32 For multi-threaded applications on Win32.
**
** SQLITE_MUTEX_OS2 For multi-threaded applications on OS/2.
*/
@@ -59,7 +59,7 @@
#endif
#if defined(SQLITE_MUTEX_NOOP) && SQLITE_THREADSAFE && OS_WIN
# undef SQLITE_MUTEX_NOOP
# define SQLITE_MUTEX_WIN
# define SQLITE_MUTEX_W32
#endif
#if defined(SQLITE_MUTEX_NOOP) && SQLITE_THREADSAFE && OS_OS2
# undef SQLITE_MUTEX_NOOP