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:
parent
447038a127
commit
9f733d1ffd
@ -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
|
||||
|
@ -709,6 +709,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
322,
|
||||
/**/
|
||||
321,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user