]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.322 v7.3.322
authorBram Moolenaar <Bram@vim.org>
Wed, 21 Sep 2011 18:09:42 +0000 (20:09 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 21 Sep 2011 18:09:42 +0000 (20:09 +0200)
Problem:    #ifdef for PDP_RETVAL doesn't work, INT_PTR can be a typedef.
Solution:   Check the MSC version and 64 bit flags. (Sergiu Dotenco)

src/os_mswin.c
src/version.c

index 49b142895bdacb71f3c688a172fe784c715bfadc..839c3df5b55b5a4a7d98f2a3aeaae6fb0f19e4ef 100644 (file)
@@ -1781,7 +1781,7 @@ swap_me(COLORREF colorref)
 }
 
 /* Attempt to make this work for old and new compilers */
-#if !defined(_MSC_VER) || (_MSC_VER < 1300) || !defined(INT_PTR)
+#if !defined(_WIN64) && (!defined(_MSC_VER) || _MSC_VER < 1300)
 # define PDP_RETVAL BOOL
 #else
 # define PDP_RETVAL INT_PTR
index 2837018f9d05c60ff8d28860078e23767c6d81ed..9289490dc257bec784b2d6f66cb76fb44f0201a4 100644 (file)
@@ -709,6 +709,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    322,
 /**/
     321,
 /**/