# HG changeset patch # User ben # Date 1022680136 0 # Node ID b27b70c1252a8b00178cea7ca55ecf84cf289563 # Parent 211050afdc9a77035a5ae746eb82684e5ee7d5be [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. diff -r 211050afdc9a -r b27b70c1252a src/ChangeLog --- a/src/ChangeLog Wed May 29 09:42:49 2002 +0000 +++ b/src/ChangeLog Wed May 29 13:48:56 2002 +0000 @@ -1,3 +1,9 @@ +2002-05-29 Ben Wing + + * event-msw.c: + Oops, paren in wrong place. + Oops, manifest constant needed earlier than defined. + 2002-05-29 Didier Verna * process-unix.c (unix_canonicalize_host_name): change gai_error diff -r 211050afdc9a -r b27b70c1252a src/event-msw.c --- 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;