Mike Windows wrote:
> At link time:
>
> misc1.obj : error LNK2001: unresolved external symbol modify_fname
>
> There is a call to modify_fname() in home_replace() in misc1.c that is
> compiled in on Windows, but the function in eval.c is not compiled in
> unless at least features are normal. Simplest fix is to exclude windows
> from the check in misc.c:
>
> diff --git a/src/misc1.c b/src/misc1.c
> --- a/src/misc1.c
> +++ b/src/misc1.c
> @@ -4607,7 +4607,7 @@ home_replace(buf, src, dst, dstlen, one)
> if (homedir_env != NULL && *homedir_env == NUL)
> homedir_env = NULL;
>
> -#if defined(FEAT_MODIFY_FNAME) || defined(WIN3264)
> +#if defined(FEAT_MODIFY_FNAME)
> if (homedir_env != NULL && vim_strchr(homedir_env, '~') != NULL)
> {
> int usedlen = 0;
>
> TTFN
Thanks. I think we can add FEAT_EVAL.
--
You can't have everything. Where would you put it?
-- Steven Wright
/// 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/groups/opt_out.