Mercurial > hg > xemacs-beta
diff src/event-msw.c @ 420:41dbb7a9d5f2 r21-2-18
Import from CVS: tag r21-2-18
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:24:09 +0200 |
parents | e804706bfb8c |
children | 95016f13131a |
line wrap: on
line diff
--- a/src/event-msw.c Mon Aug 13 11:23:14 2007 +0200 +++ b/src/event-msw.c Mon Aug 13 11:24:09 2007 +0200 @@ -72,6 +72,10 @@ #include <io.h> #include <errno.h> +#if defined (__CYGWIN32__) && !defined (CYGWIN_VERSION_DLL_MAJOR) +typedef NMHDR *LPNMHDR; +#endif + #ifdef HAVE_MENUBARS #define ADJR_MENUFLAG TRUE #else @@ -1929,7 +1933,6 @@ case WM_NOTIFY: { LPNMHDR nmhdr = (LPNMHDR)lParam; - int idCtrl = (int)wParam; if (nmhdr->code == TTN_NEEDTEXT) {