Mercurial > emacs
annotate src/s/newsos5.h @ 57724:80393689541a
(USE_SAFE_ALLOCA): Add and init sa_must_free integer.
(SAFE_ALLOCA, SAFE_ALLOCA_LISP): Increment it when malloc is used.
(SAFE_FREE): Test it to determine if we need to unwind to free.
Remove size arg. All users changed.
(SAFE_FREE_LISP) Remove. All users changed to use SAFE_FREE.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Tue, 26 Oct 2004 22:37:02 +0000 |
parents | 695cf19ef79e |
children | 23a17af379b1 375f2633d815 |
rev | line source |
---|---|
6046 | 1 /* Definitions file for GNU Emacs running on Sony's NEWS-OS 5.0.2 |
2 Copyright (C) 1992, 1994 Free Software Foundation, Inc. | |
1113 | 3 |
4 This file is part of GNU Emacs. | |
5 | |
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 | |
3699 | 8 the Free Software Foundation; either version 2, or (at your option) |
1113 | 9 any later version. |
10 | |
11 GNU Emacs is distributed in the hope that it will be useful, | |
12 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 GNU General Public License for more details. | |
15 | |
16 You should have received a copy of the GNU General Public License | |
17 along with GNU Emacs; see the file COPYING. If not, write to | |
14186
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
6046
diff
changeset
|
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
6046
diff
changeset
|
19 Boston, MA 02111-1307, USA. */ |
1113 | 20 |
21 /* Use the SysVr4 file for at least base configuration. */ | |
22 | |
6046 | 23 #include "usg5-4.h" |
1113 | 24 |
25 #define NEWSOS5 | |
26 | |
27 /* These will be defined by "m-mips.h". */ | |
28 #undef START_FILES | |
29 #undef LIB_STANDARD | |
30 | |
6046 | 31 #undef LIBS_SYSTEM |
32 #define LIBS_SYSTEM -lsocket -lnsl -lgen | |
33 | |
34 /* Disable use of "unexelf.c" and shared libraries, because | |
35 "unexelf.c" doesn't work correctly on NEWS-OS. "unexmips.c" does | |
36 work correctly if the program is linked statically without ELF. */ | |
1113 | 37 #undef UNEXEC |
38 #undef USG_SHARED_LIBRARIES | |
39 | |
6046 | 40 /* Use `ld' directly rather than ordinary link, because ordinary link |
41 can't produce a non-ELF executable. */ | |
42 #undef ORDINARY_LINK | |
43 #define LINKER /usr/lib/cmplrs/cc/ld | |
44 #define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o | |
45 #define LIB_STANDARD -lc /usr/ccs/lib/crtn.o /usr/ccs/lib/values-Xt.o | |
46 | |
1113 | 47 #ifndef HAVE_SOCKETS |
48 #define HAVE_SOCKETS | |
49 #endif | |
52401 | 50 |
51 /* arch-tag: 2bb78fcd-fbc4-46dd-a14b-e4a9be957fe0 | |
52 (do not change this comment) */ |