comparison src/s/ms-w32.h @ 13422:b3cefdfb34a9

[HAVE_NTGUI] (abort): New macro. [HAVE_NTGUI] (HAVE_FACES): Defined. [HAVE_NTGUI] (HAVE_WINDOW_SYSTEM): New macro.
author Geoff Voelker <voelker@cs.washington.edu>
date Tue, 07 Nov 1995 07:32:46 +0000
parents 5c486ab3c695
children ee40177f6c68
comparison
equal deleted inserted replaced
13421:a89f140f30bb 13422:b3cefdfb34a9
228 #define HAVE_GETHOSTNAME 1 228 #define HAVE_GETHOSTNAME 1
229 #define HAVE_RANDOM 1 229 #define HAVE_RANDOM 1
230 #define USE_UTIME 1 230 #define USE_UTIME 1
231 #define HAVE_MOUSE 1 231 #define HAVE_MOUSE 1
232 #define HAVE_TZNAME 1 232 #define HAVE_TZNAME 1
233
234 #ifdef HAVE_NTGUI
235 #define HAVE_WINDOW_SYSTEM
236 #define HAVE_FACES
237 #endif
233 238
234 #define MODE_LINE_BINARY_TEXT(_b_) (NILP ((_b_)->buffer_file_type) ? "T" : "B") 239 #define MODE_LINE_BINARY_TEXT(_b_) (NILP ((_b_)->buffer_file_type) ? "T" : "B")
235 240
236 /* These have to be defined because our compilers treat __STDC__ as being 241 /* These have to be defined because our compilers treat __STDC__ as being
237 defined (most of them anyway). */ 242 defined (most of them anyway). */
266 #define wait win32_wait 271 #define wait win32_wait
267 #define signal win32_signal 272 #define signal win32_signal
268 #define rindex strrchr 273 #define rindex strrchr
269 #define ctime nt_ctime /* Place a wrapper around ctime (see nt.c). */ 274 #define ctime nt_ctime /* Place a wrapper around ctime (see nt.c). */
270 275
276 #ifdef HAVE_NTGUI
277 #define abort win32_abort
278 #endif
279
271 /* Defines that we need that aren't in the standard signal.h */ 280 /* Defines that we need that aren't in the standard signal.h */
272 #define SIGHUP 1 /* Hang up */ 281 #define SIGHUP 1 /* Hang up */
273 #define SIGQUIT 3 /* Quit process */ 282 #define SIGQUIT 3 /* Quit process */
274 #define SIGTRAP 5 /* Trace trap */ 283 #define SIGTRAP 5 /* Trace trap */
275 #define SIGKILL 9 /* Die, die die */ 284 #define SIGKILL 9 /* Die, die die */
326 #else 335 #else
327 #define NULL ((void *)0) 336 #define NULL ((void *)0)
328 #endif 337 #endif
329 #endif 338 #endif
330 339
340 /* For proper declaration of environ. */
341 #include <stdlib.h>
342
343 /* Emacs takes care of ensuring that these are defined. */
344 #ifdef max
345 #undef max
346 #undef min
347 #endif
348
331 /* ============================================================ */ 349 /* ============================================================ */