Skip to content

Commit eca99bd

Browse files
committed
patch 7.4.1063
Problem: TCL_VER_LONG and DYNAMIC_TCL_VER are not set when building with Cygwin and MingW. Solution: Add TCL_VER_LONG and DYNAMIC_TCL_VER to the makefile.
1 parent 0bee2fe commit eca99bd

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/Make_cyg_ming.mak

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,13 +263,18 @@ endif
263263
# TCL=[Path to TCL directory] (Set inside Make_cyg.mak or Make_ming.mak)
264264
# DYNAMIC_TCL=yes (to load the TCL DLL dynamically)
265265
# TCL_VER=[TCL version, eg 83, 84] (default is 83)
266+
# TCL_VER_LONG=[Tcl version, eg 8.3] (default is 8.3)
267+
# You must set TCL_VER_LONG when you set TCL_VER.
266268
ifdef TCL
267269
ifndef DYNAMIC_TCL
268270
DYNAMIC_TCL=yes
269271
endif
270272
ifndef TCL_VER
271273
TCL_VER = 83
272274
endif
275+
ifndef TCL_VER_LONG
276+
TCL_VER_LONG = 8.3
277+
endif
273278
TCLINC += -I$(TCL)/include
274279
endif
275280

@@ -462,7 +467,7 @@ endif
462467
ifdef TCL
463468
CFLAGS += -DFEAT_TCL $(TCLINC)
464469
ifeq (yes, $(DYNAMIC_TCL))
465-
CFLAGS += -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl$(TCL_VER).dll\"
470+
CFLAGS += -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl$(TCL_VER).dll\" -DDYNAMIC_TCL_VER=\"$(TCL_VER_LONG)\"
466471
endif
467472
endif
468473

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
1063,
744746
/**/
745747
1062,
746748
/**/

0 commit comments

Comments
 (0)