set the error state from the codec when the plaintext_header_size is invalid
[sqlcipher.git] / src / vxworks.h
blobe7013c3f667ff13bb704dfe8f3fc86458dd0cf24
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.
11 ******************************************************************************
13 ** This file contains code that is specific to Wind River's VxWorks
15 #if defined(__RTP__) || defined(_WRS_KERNEL)
16 /* This is VxWorks. Set up things specially for that OS
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 #define OS_VXWORKS 0
29 #define HAVE_FCHOWN 1
30 #define HAVE_READLINK 1
31 #define HAVE_LSTAT 1
32 #endif /* defined(_WRS_KERNEL) */