/ 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 Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/mutex.c.

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