Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
855:211050afdc9a | 856:b27b70c1252a |
---|---|
48 WIN32_NATIVE and HAVE_WIN32_PROCESSES and nothing else | 48 WIN32_NATIVE and HAVE_WIN32_PROCESSES and nothing else |
49 | 49 |
50 CYGWIN and HAVE_MSG_SELECT and HAVE_UNIX_PROCESSES and nothing else | 50 CYGWIN and HAVE_MSG_SELECT and HAVE_UNIX_PROCESSES and nothing else |
51 */ | 51 */ |
52 #ifdef WIN32_NATIVE | 52 #ifdef WIN32_NATIVE |
53 # if !(defined (HAVE_WIN32_PROCESSES && !defined (HAVE_UNIX_PROCESSES) && !defined (HAVE_MSG_SELECT) && !defined (CYGWIN))) | 53 # if !(defined (HAVE_WIN32_PROCESSES) && !defined (HAVE_UNIX_PROCESSES) && !defined (HAVE_MSG_SELECT) && !defined (CYGWIN)) |
54 # error Something is wrong with your process definitions for Windows native. | 54 # error Something is wrong with your process definitions for Windows native. |
55 # endif | 55 # endif |
56 #elif defined (CYGWIN) | 56 #elif defined (CYGWIN) |
57 # if !(defined (HAVE_UNIX_PROCESSES) && defined (HAVE_MSG_SELECT) && !defined (HAVE_WIN32_PROCESSES) && !defined (WIN32_NATIVE)) | 57 # if !(defined (HAVE_UNIX_PROCESSES) && defined (HAVE_MSG_SELECT) && !defined (HAVE_WIN32_PROCESSES) && !defined (WIN32_NATIVE)) |
58 # error Something is wrong with your process definitions for Cygwin. | 58 # error Something is wrong with your process definitions for Cygwin. |
133 extern int signal_event_pipe_initialized; | 133 extern int signal_event_pipe_initialized; |
134 int windows_fd; | 134 int windows_fd; |
135 | 135 |
136 #else | 136 #else |
137 | 137 |
138 /* The number of things we can wait on */ | |
139 #define MAX_WAITABLE (MAXIMUM_WAIT_OBJECTS - 1) | |
140 | |
138 /* List of mswindows waitable handles. */ | 141 /* List of mswindows waitable handles. */ |
139 static HANDLE mswindows_waitable_handles[MAX_WAITABLE]; | 142 static HANDLE mswindows_waitable_handles[MAX_WAITABLE]; |
140 | 143 |
141 /* Number of wait handles */ | 144 /* Number of wait handles */ |
142 static int mswindows_waitable_count = 0; | 145 static int mswindows_waitable_count = 0; |
149 * first one until it is empty and only then proceed with the second | 152 * first one until it is empty and only then proceed with the second |
150 * one. | 153 * one. |
151 */ | 154 */ |
152 static Lisp_Object mswindows_u_dispatch_event_queue, mswindows_u_dispatch_event_queue_tail; | 155 static Lisp_Object mswindows_u_dispatch_event_queue, mswindows_u_dispatch_event_queue_tail; |
153 static Lisp_Object mswindows_s_dispatch_event_queue, mswindows_s_dispatch_event_queue_tail; | 156 static Lisp_Object mswindows_s_dispatch_event_queue, mswindows_s_dispatch_event_queue_tail; |
154 | |
155 /* The number of things we can wait on */ | |
156 #define MAX_WAITABLE (MAXIMUM_WAIT_OBJECTS - 1) | |
157 | 157 |
158 /* Brush for painting widgets */ | 158 /* Brush for painting widgets */ |
159 static HBRUSH widget_brush = 0; | 159 static HBRUSH widget_brush = 0; |
160 static LONG last_widget_brushed = 0; | 160 static LONG last_widget_brushed = 0; |
161 | 161 |