summaryrefslogtreecommitdiff
path: root/src/os_mswin.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-08-09 17:55:22 +0000
committerBram Moolenaar <Bram@vim.org>2008-08-09 17:55:22 +0000
commited39e1d53cc4916c2390aea635cd8419497c1460 (patch)
tree55d468c93579ad2607d56eade9fd6b685cd00c44 /src/os_mswin.c
parenta6404a4e100ebe2081bd2678166604f402330143 (diff)
downloadvim-git-ed39e1d53cc4916c2390aea635cd8419497c1460.tar.gz
updated for version 7.2-000v7.2.000v7.2
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r--src/os_mswin.c9
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