interplane.Get Omega
Read in your language

sqlite

[Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI.

Brought by drakestapleton

branch master Branches Tags History

sqlite / src / vxworks.h

34 lines · 993 bytes Raw Blame History
1/*
2** 2015-03-02
3**
4** The author disclaims copyright to this source code. In place of
5** a legal notice, here is a blessing:
6**
7** May you do good and not evil.
8** May you find forgiveness for yourself and forgive others.
9** May you share freely, never taking more than you give.
10**
11******************************************************************************
12**
13** This file contains code that is specific to Wind River's VxWorks
14*/
15#if defined(__RTP__) || defined(_WRS_KERNEL)
16/* This is VxWorks. Set up things specially for that OS
17*/
18#include <vxWorks.h>
19#include <pthread.h> /* amalgamator: dontcache */
20#define OS_VXWORKS 1
21#define SQLITE_OS_OTHER 0
22#define SQLITE_HOMEGROWN_RECURSIVE_MUTEX 1
23#define SQLITE_OMIT_LOAD_EXTENSION 1
24#define SQLITE_ENABLE_LOCKING_STYLE 0
25#define HAVE_UTIME 1
26#else
27/* This is not VxWorks. */
28#ifndef OS_VXWORKS
29# define OS_VXWORKS 0
30#endif
31#define HAVE_FCHOWN 1
32#define HAVE_READLINK 1
33#define HAVE_LSTAT 1
34#endif /* defined(_WRS_KERNEL) */