comparison src/m/alpha.h @ 26089:1a4c3573a216

* m/alpha.h: Do not include <stdlib.h>, as <config.h> does this now. (NSIG): Remove. (NSIG_MINIMUM): New macro. * m/cydra5.h, m/dpx2.h, m/mips.h, m/pfa50.h, m/sps7.h, m/stride.h, m/ustation.h: (SIGIO): Do not undef. (BROKEN_SIGIO): New macro. * m/ustation.h: (SIGTSTP): Do not undef. (BROKEN_SIGTSTP): New macro. * m/delta.h: Doc fix.
author Paul Eggert <eggert@twinsun.com>
date Tue, 19 Oct 1999 07:27:16 +0000
parents 09b52c2bc2f1
children 789dee6f1a09
comparison
equal deleted inserted replaced
26088:b7aa6ac26872 26089:1a4c3573a216
1 /* machine description file For the alpha chip. 1 /* machine description file For the alpha chip.
2 Copyright (C) 1994, 1997 Free Software Foundation, Inc. 2 Copyright (C) 1994, 1997, 1999 Free Software Foundation, Inc.
3 3
4 This file is part of GNU Emacs. 4 This file is part of GNU Emacs.
5 5
6 GNU Emacs is free software; you can redistribute it and/or modify 6 GNU Emacs is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
239 239
240 #ifndef NOT_C_CODE 240 #ifndef NOT_C_CODE
241 /* We need these because pointers are larger than the default ints. */ 241 /* We need these because pointers are larger than the default ints. */
242 #if !defined(__NetBSD__) && !defined(__OpenBSD__) 242 #if !defined(__NetBSD__) && !defined(__OpenBSD__)
243 #include <alloca.h> 243 #include <alloca.h>
244 #else
245 #include <stdlib.h>
246 #endif 244 #endif
247 245
248 /* Hack alert! For reasons unknown to mankind the string.h file insists 246 /* Hack alert! For reasons unknown to mankind the string.h file insists
249 on defining bcopy etc. as taking char pointers as arguments. With 247 on defining bcopy etc. as taking char pointers as arguments. With
250 Emacs this produces an endless amount of warning which are harmless, 248 Emacs this produces an endless amount of warning which are harmless,
297 SIGMASKTYPE mask; \ 295 SIGMASKTYPE mask; \
298 mask = sigblock (sigmask (SIGCHLD)); \ 296 mask = sigblock (sigmask (SIGCHLD)); \
299 if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \ 297 if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \
300 fd = -1; \ 298 fd = -1; \
301 sigsetmask (mask); \ 299 sigsetmask (mask); \
302 close (dummy); \ 300 emacs_close (dummy); \
303 } \ 301 } \
304 while (0) 302 while (0)
305 #endif 303 #endif
306 304
307 /* On the Alpha it's best to avoid including TERMIO since struct 305 /* On the Alpha it's best to avoid including TERMIO since struct