0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

updated for version 7.3.322

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)
This commit is contained in:
Bram Moolenaar 2011-09-21 20:09:42 +02:00
parent 447038a127
commit 9f733d1ffd
2 changed files with 3 additions and 1 deletions

View File

@ -1781,7 +1781,7 @@ swap_me(COLORREF colorref)
} }
/* Attempt to make this work for old and new compilers */ /* 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 # define PDP_RETVAL BOOL
#else #else
# define PDP_RETVAL INT_PTR # define PDP_RETVAL INT_PTR

View File

@ -709,6 +709,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
322,
/**/ /**/
321, 321,
/**/ /**/