# HG changeset patch # User Bram Moolenaar # Date 1263298713 -3600 # Node ID 5c6fa259c9236cfacc66dfeade89414479b5aa58 # Parent 8b83fe73ba61caef16b3262f346b39535021c29d updated for version 7.2.328 Problem: has("win64") does not return 1 on 64 bit MS-Windows version. Solution: Also check for _WIN64 besides WIN64. diff --git a/.hgignore b/.hgignore --- a/.hgignore +++ b/.hgignore @@ -1,6 +1,6 @@ syntax: glob -# Unixen +# Unixen: object and executable files. *.o src/vim src/xxd/xxd @@ -18,7 +18,6 @@ src/auto/link.sed src/auto/pathdef.c # Windows -.hgignore *.exe *.idb *.manifest diff --git a/src/eval.c b/src/eval.c --- a/src/eval.c +++ b/src/eval.c @@ -11453,7 +11453,7 @@ f_has(argvars, rettv) #if defined(UNIX) && (defined(__CYGWIN32__) || defined(__CYGWIN__)) "win32unix", #endif -#ifdef WIN64 +#if defined(WIN64) || defined(_WIN64) "win64", #endif #ifdef EBCDIC diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -682,6 +682,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 328, +/**/ 327, /**/ 326,