/ Check-in [82ef47ea]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Another compilation fix for POSIX.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | mutexDbg2
Files: files | file ages | folders
SHA1: 82ef47ea88d59e0e97492d61c16a3a36f87e1efd
User & Date: mistachkin 2017-02-15 00:52:50
Context
2017-02-15
01:02
Make SQLITE_GET_MUTEX_TIME a proper noop on non-Win32/non-POSIX. Leaf check-in: 4ca2b2f8 user: mistachkin tags: mutexDbg2
00:52
Another compilation fix for POSIX. check-in: 82ef47ea user: mistachkin tags: mutexDbg2
00:45
Make fine time granularity work on POSIX. check-in: 79057716 user: mistachkin tags: mutexDbg2
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

Changes to src/mutex.c.

11
12
13
14
15
16
17

18
19
20
21
22
23
24
*************************************************************************
** This file contains the C functions that implement mutexes.
**
** This file contains code that is common across all mutex implementations.
*/
#include "sqliteInt.h"
#if SQLITE_OS_UNIX

#  include <pthread.h>
#elif SQLITE_OS_WIN
#  include "os_win.h"
#endif

#if defined(SQLITE_DEBUG) && !defined(SQLITE_MUTEX_OMIT)
/*







>







11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
*************************************************************************
** This file contains the C functions that implement mutexes.
**
** This file contains code that is common across all mutex implementations.
*/
#include "sqliteInt.h"
#if SQLITE_OS_UNIX
#  include <sys/time.h>
#  include <pthread.h>
#elif SQLITE_OS_WIN
#  include "os_win.h"
#endif

#if defined(SQLITE_DEBUG) && !defined(SQLITE_MUTEX_OMIT)
/*