Mercurial > hg > xemacs-beta
diff src/event-msw.c @ 856:b27b70c1252a
[xemacs-hg @ 2002-05-29 13:48:53 by ben]
To: xemacs-patches@xemacs.org
event-msw.c: Oops, paren in wrong place.
Oops, manifest constant needed earlier than defined.
author | ben |
---|---|
date | Wed, 29 May 2002 13:48:56 +0000 |
parents | 2b6fa2618f76 |
children | 804517e16990 |
line wrap: on
line diff
--- a/src/event-msw.c Wed May 29 09:42:49 2002 +0000 +++ b/src/event-msw.c Wed May 29 13:48:56 2002 +0000 @@ -50,7 +50,7 @@ CYGWIN and HAVE_MSG_SELECT and HAVE_UNIX_PROCESSES and nothing else */ #ifdef WIN32_NATIVE -# if !(defined (HAVE_WIN32_PROCESSES && !defined (HAVE_UNIX_PROCESSES) && !defined (HAVE_MSG_SELECT) && !defined (CYGWIN))) +# if !(defined (HAVE_WIN32_PROCESSES) && !defined (HAVE_UNIX_PROCESSES) && !defined (HAVE_MSG_SELECT) && !defined (CYGWIN)) # error Something is wrong with your process definitions for Windows native. # endif #elif defined (CYGWIN) @@ -135,6 +135,9 @@ #else +/* The number of things we can wait on */ +#define MAX_WAITABLE (MAXIMUM_WAIT_OBJECTS - 1) + /* List of mswindows waitable handles. */ static HANDLE mswindows_waitable_handles[MAX_WAITABLE]; @@ -152,9 +155,6 @@ static Lisp_Object mswindows_u_dispatch_event_queue, mswindows_u_dispatch_event_queue_tail; static Lisp_Object mswindows_s_dispatch_event_queue, mswindows_s_dispatch_event_queue_tail; -/* The number of things we can wait on */ -#define MAX_WAITABLE (MAXIMUM_WAIT_OBJECTS - 1) - /* Brush for painting widgets */ static HBRUSH widget_brush = 0; static LONG last_widget_brushed = 0;