changeset 2039:5c6fa259c923 v7.2.328

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.
author Bram Moolenaar <bram@zimbu.org>
date Tue, 12 Jan 2010 13:18:33 +0100
parents 8b83fe73ba61
children 70c67b1bb1f1
files .hgignore src/eval.c src/version.c
diffstat 3 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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
--- 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,