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

Unified Diff: third_party/sqlite/src/src/test_schema.c

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 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/src/src/test_rtree.c ('k') | third_party/sqlite/src/src/test_sqllog.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/src/test_schema.c
diff --git a/third_party/sqlite/src/src/test_schema.c b/third_party/sqlite/src/src/test_schema.c
index 4ee18193b049fc753618d02aa55cf110cc8c9a67..cdf085797f09e4f4d4a484f4492580d9c90dc3c3 100644
--- a/third_party/sqlite/src/src/test_schema.c
+++ b/third_party/sqlite/src/src/test_schema.c
@@ -35,10 +35,14 @@
** to be compiled into an sqlite dynamic extension.
*/
#ifdef SQLITE_TEST
- #include "sqliteInt.h"
- #include "tcl.h"
+# include "sqliteInt.h"
+# if defined(INCLUDE_SQLITE_TCL_H)
+# include "sqlite_tcl.h"
+# else
+# include "tcl.h"
+# endif
#else
- #include "sqlite3ext.h"
+# include "sqlite3ext.h"
SQLITE_EXTENSION_INIT1
#endif
@@ -302,7 +306,7 @@ extern int getDbPointer(Tcl_Interp *interp, const char *zA, sqlite3 **ppDb);
/*
** Register the schema virtual table module.
*/
-static int register_schema_module(
+static int SQLITE_TCLAPI register_schema_module(
ClientData clientData, /* Not used */
Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
int objc, /* Number of arguments */
« no previous file with comments | « third_party/sqlite/src/src/test_rtree.c ('k') | third_party/sqlite/src/src/test_sqllog.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698