commit | ed39e1d53cc4916c2390aea635cd8419497c1460 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Aug 09 17:55:22 2008 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Aug 09 17:55:22 2008 +0000 |
tree | 55d468c93579ad2607d56eade9fd6b685cd00c44 | |
parent | a6404a4e100ebe2081bd2678166604f402330143 [diff] [blame] |
updated for version 7.2-000
diff --git a/src/os_mswin.c b/src/os_mswin.c index 28f2f08..b2eee92 100644 --- a/src/os_mswin.c +++ b/src/os_mswin.c
@@ -1728,8 +1728,15 @@ 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