Sergey Khorev wrote:

> has("win64") returns 0 even for x64 version of Vim. It seems we need
> to define WIN64 for this to work. Something like that:
> 
> *** ../vim72.323/src/Make_mvc.mak     Wed Dec 23 09:36:54 2009
> --- src/Make_mvc.mak  Tue Jan  5 16:46:26 2010
> ***************
> *** 314,319 ****
> --- 314,323 ----
>   #>>>>> end of choices
>   ###########################################################################
> 
> + !if ("$(CPU)" == "AMD64") || ("$(CPU)" == "IA64")
> + CFLAGS=$(CFLAGS) -DWIN64
> + !endif
> +
>   !ifdef OS
>   OS_TYPE     = winnt
>   DEL_TREE = rmdir /s /q

In many places in the code _WIN64 is checked for, but the list for has()
uses WIN64.

Perhaps we should change them all to WIN64 to be consistent with WIN32,
and then define WIN64 in vim.h when _WIN64 is defined.

-- 
>From "know your smileys":
 y:-)   Bad toupee

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
-- 
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui