From e37d79928d4f3a70fffad086241e65d21dd9e1c3 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 12 Jan 2010 13:18:33 +0100 Subject: 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. --- .gitignore | 3 +-- src/eval.c | 2 +- src/version.c | 2 ++ 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e989f5e3e9..5243f92a0c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -# Unixen +# Unixen: object and executable files. *.o src/vim src/xxd/xxd @@ -16,7 +16,6 @@ src/auto/link.sed src/auto/pathdef.c # Windows -.hgignore *.exe *.idb *.manifest diff --git a/src/eval.c b/src/eval.c index 6bd2aa72e5..c076560948 100644 --- 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 index a802841b36..f628c8ca04 100644 --- a/src/version.c +++ b/src/version.c @@ -681,6 +681,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 328, /**/ 327, /**/ -- cgit v1.2.3