diff options
| author | Geoff Voelker | 1995-11-07 07:32:46 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1995-11-07 07:32:46 +0000 |
| commit | 4a1ba22262721654a4e1e4138fd23740ce9d726e (patch) | |
| tree | 77645747fa66ef855c41dec6d9ca3860b9f148b2 /src | |
| parent | 6055eb047f0f6eab07b005c3d5df51190f516cde (diff) | |
| download | emacs-4a1ba22262721654a4e1e4138fd23740ce9d726e.tar.gz emacs-4a1ba22262721654a4e1e4138fd23740ce9d726e.zip | |
[HAVE_NTGUI] (abort): New macro.
[HAVE_NTGUI] (HAVE_FACES): Defined.
[HAVE_NTGUI] (HAVE_WINDOW_SYSTEM): New macro.
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/ms-w32.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h index fcd02138b84..c29175f811d 100644 --- a/src/s/ms-w32.h +++ b/src/s/ms-w32.h | |||
| @@ -231,6 +231,11 @@ void gettimeofday (struct timeval *, struct timezone *); | |||
| 231 | #define HAVE_MOUSE 1 | 231 | #define HAVE_MOUSE 1 |
| 232 | #define HAVE_TZNAME 1 | 232 | #define HAVE_TZNAME 1 |
| 233 | 233 | ||
| 234 | #ifdef HAVE_NTGUI | ||
| 235 | #define HAVE_WINDOW_SYSTEM | ||
| 236 | #define HAVE_FACES | ||
| 237 | #endif | ||
| 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 |
| @@ -268,6 +273,10 @@ void gettimeofday (struct timeval *, struct timezone *); | |||
| 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 */ |
| @@ -328,4 +337,13 @@ struct nt_stat | |||
| 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 | /* ============================================================ */ |