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