Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(539)

Unified Diff: third_party/sqlite/sqlite-src-3170000/src/vxworks.h

Issue 2747283002: [sql] Import reference version of SQLite 3.17.. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/sqlite-src-3170000/src/vtab.c ('k') | third_party/sqlite/sqlite-src-3170000/src/wal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/sqlite-src-3170000/src/vxworks.h
diff --git a/third_party/sqlite/sqlite-src-3170000/src/vxworks.h b/third_party/sqlite/sqlite-src-3170000/src/vxworks.h
new file mode 100644
index 0000000000000000000000000000000000000000..e7013c3f667ff13bb704dfe8f3fc86458dd0cf24
--- /dev/null
+++ b/third_party/sqlite/sqlite-src-3170000/src/vxworks.h
@@ -0,0 +1,32 @@
+/*
+** 2015-03-02
+**
+** The author disclaims copyright to this source code. In place of
+** a legal notice, here is a blessing:
+**
+** May you do good and not evil.
+** May you find forgiveness for yourself and forgive others.
+** May you share freely, never taking more than you give.
+**
+******************************************************************************
+**
+** This file contains code that is specific to Wind River's VxWorks
+*/
+#if defined(__RTP__) || defined(_WRS_KERNEL)
+/* This is VxWorks. Set up things specially for that OS
+*/
+#include <vxWorks.h>
+#include <pthread.h> /* amalgamator: dontcache */
+#define OS_VXWORKS 1
+#define SQLITE_OS_OTHER 0
+#define SQLITE_HOMEGROWN_RECURSIVE_MUTEX 1
+#define SQLITE_OMIT_LOAD_EXTENSION 1
+#define SQLITE_ENABLE_LOCKING_STYLE 0
+#define HAVE_UTIME 1
+#else
+/* This is not VxWorks. */
+#define OS_VXWORKS 0
+#define HAVE_FCHOWN 1
+#define HAVE_READLINK 1
+#define HAVE_LSTAT 1
+#endif /* defined(_WRS_KERNEL) */
« no previous file with comments | « third_party/sqlite/sqlite-src-3170000/src/vtab.c ('k') | third_party/sqlite/sqlite-src-3170000/src/wal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698