diff options
author | mistachkin <mistachkin@noemail.net> | 2016-07-28 17:11:20 +0000 |
---|---|---|
committer | mistachkin <mistachkin@noemail.net> | 2016-07-28 17:11:20 +0000 |
commit | 7617e4a8a4564689a839cf116dae0012b4753a65 (patch) | |
tree | 6d3e3d005be92b9cfdf2d2c96d31cb29335dd361 /src/test_intarray.c | |
parent | f27a80cf185c97e66a5808e2634d41fe30942fed (diff) | |
download | sqlite-7617e4a8a4564689a839cf116dae0012b4753a65.tar.gz sqlite-7617e4a8a4564689a839cf116dae0012b4753a65.zip |
Make sure the SQLITE_TCLAPI macro is always defined.
FossilOrigin-Name: f2f1323cc4d2ad2d6794dbfae8d50b747213e85d
Diffstat (limited to 'src/test_intarray.c')
-rw-r--r-- | src/test_intarray.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/test_intarray.c b/src/test_intarray.c index c27b4597c..ddfb13fe2 100644 --- a/src/test_intarray.c +++ b/src/test_intarray.c @@ -274,6 +274,9 @@ SQLITE_API int sqlite3_intarray_bind( # include "sqlite_tcl.h" #else # include "tcl.h" +# ifndef SQLITE_TCLAPI +# define SQLITE_TCLAPI +# endif #endif /* @@ -290,7 +293,7 @@ extern const char *sqlite3ErrName(int); ** Invoke the sqlite3_intarray_create interface. A string that becomes ** the first parameter to sqlite3_intarray_bind. */ -static int test_intarray_create( +static int SQLITE_TCLAPI test_intarray_create( ClientData clientData, /* Not used */ Tcl_Interp *interp, /* The TCL interpreter that invoked this command */ int objc, /* Number of arguments */ @@ -326,7 +329,7 @@ static int test_intarray_create( ** ** Invoke the sqlite3_intarray_bind interface on the given array of integers. */ -static int test_intarray_bind( +static int SQLITE_TCLAPI test_intarray_bind( ClientData clientData, /* Not used */ Tcl_Interp *interp, /* The TCL interpreter that invoked this command */ int objc, /* Number of arguments */ |