summaryrefslogtreecommitdiff
path: root/components/external/SQLite-3.8.1/src
diff options
context:
space:
mode:
authorgeniusgogo <[email protected]>2013-12-22 21:11:58 +0800
committergeniusgogo <[email protected]>2013-12-22 21:22:47 +0800
commit26e0137f15cb00208f28dcb8493d8a0789360076 (patch)
treebde076155c6a8883356bb56dc22f6e76d7688f45 /components/external/SQLite-3.8.1/src
parentbe2f628160fa1262b6cc10df3823c5f984bc3c48 (diff)
Moved the configuration options to the SRC directory
Diffstat (limited to 'components/external/SQLite-3.8.1/src')
-rw-r--r--components/external/SQLite-3.8.1/src/sqlite_config_rtthread.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/components/external/SQLite-3.8.1/src/sqlite_config_rtthread.h b/components/external/SQLite-3.8.1/src/sqlite_config_rtthread.h
new file mode 100644
index 0000000000..5b4fb1858a
--- /dev/null
+++ b/components/external/SQLite-3.8.1/src/sqlite_config_rtthread.h
@@ -0,0 +1,62 @@
+#ifndef _SQLITE_CONFIG_RTTHREAD_H_
+#define _SQLITE_CONFIG_RTTHREAD_H_
+/*
+* SQLite compile macro
+*/
+#ifndef SQLITE_MINIMUM_FILE_DESCRIPTOR
+#define SQLITE_MINIMUM_FILE_DESCRIPTOR 0
+#endif
+
+#ifndef SQLITE_OMIT_LOAD_EXTENSION
+#define SQLITE_OMIT_LOAD_EXTENSION 1
+#endif
+
+//#ifndef #define SQLITE_OMIT_WAL
+#define SQLITE_OMIT_WAL
+//#endif
+
+#ifndef SQLITE_RTTHREAD_NO_WIDE
+#define SQLITE_RTTHREAD_NO_WIDE 1
+#endif
+
+#ifndef SQLITE_ENABLE_LOCKING_STYLE
+#define SQLITE_ENABLE_LOCKING_STYLE 0
+#endif
+
+#ifndef SQLITE_DISABLE_LOCKING_STYLE
+#define SQLITE_DISABLE_LOCKING_STYLE 1
+#endif
+
+#ifndef SQLITE_TEMP_STORE
+#define SQLITE_TEMP_STORE 1
+#endif
+
+#ifndef SQLITE_THREADSAFE
+#define SQLITE_THREADSAFE 1
+#endif
+
+#ifndef HAVE_READLINE
+#define HAVE_READLINE 0
+#endif
+
+#ifndef NDEBUG
+#define NDEBUG
+#endif
+
+#ifndef _HAVE_SQLITE_CONFIG_H
+#define _HAVE_SQLITE_CONFIG_H
+#endif
+
+#ifndef BUILD_sqlite
+#define BUILD_sqlite
+#endif
+
+#ifndef SQLITE_OS_OTHER
+#define SQLITE_OS_OTHER 1
+#endif
+
+#ifndef SQLITE_OS_RTTHREAD
+#define SQLITE_OS_RTTHREAD 1
+#endif
+
+#endif