diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-08-09 17:55:22 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-08-09 17:55:22 +0000 |
commit | ed39e1d53cc4916c2390aea635cd8419497c1460 (patch) | |
tree | 55d468c93579ad2607d56eade9fd6b685cd00c44 /src/os_mswin.c | |
parent | a6404a4e100ebe2081bd2678166604f402330143 (diff) | |
download | vim-git-ed39e1d53cc4916c2390aea635cd8419497c1460.tar.gz |
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r-- | src/os_mswin.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c index 28f2f086c..b2eee923c 100644 --- a/src/os_mswin.c +++ b/src/os_mswin.c @@ -1728,8 +1728,15 @@ swap_me(COLORREF colorref) return colorref; } +/* Attempt to make this work for old and new compilers */ +#if _MSC_VER < 1300 +# define PDP_RETVAL BOOL +#else +# define PDP_RETVAL INT_PTR +#endif + /*ARGSUSED*/ - static BOOL CALLBACK + static PDP_RETVAL CALLBACK PrintDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) { #ifdef FEAT_GETTEXT |