Skip to content

Commit 845bfb7

Browse files
author
jan.nijtmans
committed
Tcl < 9 doesn't have Tcl_MethodType2
1 parent 4ef75d9 commit 845bfb7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

generic/itclInt.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@
8080
# endif
8181
#endif
8282

83-
#if TCL_MAJOR_VERSION == 8 && defined(TCL_MINOR_VERSION) && TCL_MINOR_VERSION < 7
83+
#if TCL_MAJOR_VERSION < 9
8484
# define TCL_SIZE_MODIFIER ""
85+
# define Tcl_MethodType2 Tcl_MethodType
8586
#endif
8687

8788
/*

0 commit comments

Comments
 (0)