tdbc: fix typedef redefinitions

These definitions would be needed when building against Tcl 8 headers
but are already present in Tcl 9 headers.

Upstream: https://core.tcl-lang.org/tdbc/tktview/4d6a271e4b
This commit is contained in:
Joshua Root
2026-04-14 06:21:18 +10:00
parent c6af8b4115
commit 542f742b3f
-7
View File
@@ -52,13 +52,6 @@
# define TCL_INDEX_NONE (-1)
#endif
#if TCL_MAJOR_VERSION < 9
typedef Tcl_ObjCmdProc Tcl_ObjCmdProc2;
# define Tcl_CreateObjCommand2 Tcl_CreateObjCommand
# undef Tcl_Size
typedef int Tcl_Size;
#endif
/*
* Linkage to procedures not exported from this module
*/