Ken Takata wrote:

> I found that TCL_VER_LONG and DYNAMIC_TCL_VER are not set when using
> Make_cyg.mak and Make_ming.mak. Here is a patch for this:
> 
> --- a/src/Make_cyg_ming.mak
> +++ b/src/Make_cyg_ming.mak
> @@ -263,6 +263,8 @@
>  #      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 @@
>  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 @@
>  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

Thanks!

-- 
Any sufficiently advanced technology is indistinguishable from magic.
                                        Arthur C. Clarke
Any sufficiently advanced bug is indistinguishable from a feature.
                                        Rich Kulawiec

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui