aboutsummaryrefslogtreecommitdiff
path: root/src/test_async.c
diff options
context:
space:
mode:
authordrh <>2024-07-31 21:46:46 +0000
committerdrh <>2024-07-31 21:46:46 +0000
commit47ce12d239ae699a4d361458130d624ec501c118 (patch)
tree8b4d7ac62c969e0c9403c8a34f0ff26666aec4aa /src/test_async.c
parent07f215ad9e3606253d9bc52d59e46a9c7d9a1b63 (diff)
parented1b616f4a07559fdaaa1668567990ff122ff439 (diff)
downloadsqlite-47ce12d239ae699a4d361458130d624ec501c118.tar.gz
sqlite-47ce12d239ae699a4d361458130d624ec501c118.zip
Fix the tclsqlite.c TCL interface module so that it works with both Tcl8 and
Tcl9. Make changes across the TCL-based test harness to enable SQLite to be tested with either Tcl8 or Tcl9. Get the --with-tcl= argument on the configure script working. Testing changes only - no changes to the SQLite core. FossilOrigin-Name: 2a04b1bea12b0b4c3387d675f487337533ac0813248f70085398485e4cacd691
Diffstat (limited to 'src/test_async.c')
-rw-r--r--src/test_async.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/test_async.c b/src/test_async.c
index c32c74c66..afe401ac6 100644
--- a/src/test_async.c
+++ b/src/test_async.c
@@ -14,15 +14,8 @@
** (defined in ext/async/sqlite3async.h) to Tcl.
*/
-#define TCL_THREADS
-#if defined(INCLUDE_SQLITE_TCL_H)
-# include "sqlite_tcl.h"
-#else
-# include "tcl.h"
-# ifndef SQLITE_TCLAPI
-# define SQLITE_TCLAPI
-# endif
-#endif
+#define TCL_THREADS
+#include "tclsqlite.h"
#ifdef SQLITE_ENABLE_ASYNCIO