]> granicus.if.org Git - vim/commitdiff
patch 7.4.1063 v7.4.1063
authorBram Moolenaar <Bram@vim.org>
Thu, 7 Jan 2016 21:50:05 +0000 (22:50 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 7 Jan 2016 21:50:05 +0000 (22:50 +0100)
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.

src/Make_cyg_ming.mak
src/version.c

index 350074fae4a94a63595d300eab48a33e71da1f97..ca6f844a93401e3c2b5fd58ab27fab609b3b903d 100644 (file)
@@ -263,6 +263,8 @@ endif
 #        TCL=[Path to TCL directory] (Set inside Make_cyg.mak or Make_ming.mak)
 #        DYNAMIC_TCL=yes (to load the TCL DLL dynamically)
 #        TCL_VER=[TCL version, eg 83, 84] (default is 83)
+#        TCL_VER_LONG=[Tcl version, eg 8.3] (default is 8.3)
+#          You must set TCL_VER_LONG when you set TCL_VER.
 ifdef TCL
 ifndef DYNAMIC_TCL
 DYNAMIC_TCL=yes
@@ -270,6 +272,9 @@ endif
 ifndef TCL_VER
 TCL_VER = 83
 endif
+ifndef TCL_VER_LONG
+TCL_VER_LONG = 8.3
+endif
 TCLINC += -I$(TCL)/include
 endif
 
@@ -462,7 +467,7 @@ endif
 ifdef TCL
 CFLAGS += -DFEAT_TCL $(TCLINC)
 ifeq (yes, $(DYNAMIC_TCL))
-CFLAGS += -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl$(TCL_VER).dll\"
+CFLAGS += -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl$(TCL_VER).dll\" -DDYNAMIC_TCL_VER=\"$(TCL_VER_LONG)\"
 endif
 endif
 
index b22b30c9175eec0826881132e52a72d47dfc75ea..a14e06992e2a090569851f9d3ab5492a93274501 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1063,
 /**/
     1062,
 /**/