changeset 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 a89f140f30bb
children eefa4f720371
files src/s/ms-w32.h
diffstat 1 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/ms-w32.h	Tue Nov 07 07:31:45 1995 +0000
+++ b/src/s/ms-w32.h	Tue Nov 07 07:32:46 1995 +0000
@@ -231,6 +231,11 @@
 #define HAVE_MOUSE		1
 #define HAVE_TZNAME		1
 
+#ifdef HAVE_NTGUI
+#define HAVE_WINDOW_SYSTEM
+#define HAVE_FACES
+#endif
+
 #define MODE_LINE_BINARY_TEXT(_b_) (NILP ((_b_)->buffer_file_type) ? "T" : "B")
 
 /* These have to be defined because our compilers treat __STDC__ as being
@@ -268,6 +273,10 @@
 #define rindex  strrchr
 #define ctime	nt_ctime	/* Place a wrapper around ctime (see nt.c).  */
 
+#ifdef HAVE_NTGUI
+#define abort	win32_abort
+#endif
+
 /* Defines that we need that aren't in the standard signal.h  */
 #define SIGHUP  1               /* Hang up */
 #define SIGQUIT 3               /* Quit process */
@@ -328,4 +337,13 @@
 #endif
 #endif
 
+/* For proper declaration of environ.  */
+#include <stdlib.h>
+
+/* Emacs takes care of ensuring that these are defined.  */
+#ifdef max
+#undef max
+#undef min
+#endif
+
 /* ============================================================ */