Mercurial > vim
changeset 3102:38a7fd904347 v7.3.322
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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 21 Sep 2011 20:09:42 +0200 |
parents | 678b7b21abac |
children | 5e84f6567623 |
files | src/os_mswin.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os_mswin.c +++ b/src/os_mswin.c @@ -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