| Index: third_party/sqlite/src/src/test_init.c
|
| diff --git a/third_party/sqlite/src/src/test_init.c b/third_party/sqlite/src/src/test_init.c
|
| index 502d95c05237348bb925b2e81d9de73027a94454..58465785d8233c89673774e513d00d6e13899c4e 100644
|
| --- a/third_party/sqlite/src/src/test_init.c
|
| +++ b/third_party/sqlite/src/src/test_init.c
|
| @@ -27,7 +27,11 @@
|
|
|
| #include "sqliteInt.h"
|
| #include <string.h>
|
| -#include <tcl.h>
|
| +#if defined(INCLUDE_SQLITE_TCL_H)
|
| +# include "sqlite_tcl.h"
|
| +#else
|
| +# include "tcl.h"
|
| +#endif
|
|
|
| static struct Wrapped {
|
| sqlite3_pcache_methods2 pcache;
|
| @@ -184,7 +188,7 @@ static void installInitWrappers(void){
|
| sqlite3_config(SQLITE_CONFIG_PCACHE2, &pcachemethods);
|
| }
|
|
|
| -static int init_wrapper_install(
|
| +static int SQLITE_TCLAPI init_wrapper_install(
|
| ClientData clientData, /* Unused */
|
| Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
|
| int objc, /* Number of arguments */
|
| @@ -208,7 +212,7 @@ static int init_wrapper_install(
|
| return TCL_OK;
|
| }
|
|
|
| -static int init_wrapper_uninstall(
|
| +static int SQLITE_TCLAPI init_wrapper_uninstall(
|
| ClientData clientData, /* Unused */
|
| Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
|
| int objc, /* Number of arguments */
|
| @@ -226,7 +230,7 @@ static int init_wrapper_uninstall(
|
| return TCL_OK;
|
| }
|
|
|
| -static int init_wrapper_clear(
|
| +static int SQLITE_TCLAPI init_wrapper_clear(
|
| ClientData clientData, /* Unused */
|
| Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
|
| int objc, /* Number of arguments */
|
| @@ -243,7 +247,7 @@ static int init_wrapper_clear(
|
| return TCL_OK;
|
| }
|
|
|
| -static int init_wrapper_query(
|
| +static int SQLITE_TCLAPI init_wrapper_query(
|
| ClientData clientData, /* Unused */
|
| Tcl_Interp *interp, /* The TCL interpreter that invoked this command */
|
| int objc, /* Number of arguments */
|
|
|