updated for version 7.0e03
diff --git a/src/gui_w32.c b/src/gui_w32.c
index be5a78b..ac05ee9 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -185,6 +185,9 @@
 static void delete_tooltip __ARGS((BalloonEval *beval));
 static VOID CALLBACK BevalTimerProc __ARGS((HWND hwnd, UINT uMsg, UINT idEvent, DWORD dwTime));
 
+#ifndef UINT_PTR
+# define UINT_PTR UINT
+#endif
 static BalloonEval  *cur_beval = NULL;
 static UINT_PTR	    BevalTimerId = 0;
 static DWORD	    LastActivity = 0;