Commit | Line | Data |
---|---|---|
f2a77c3a | 1 | /* System description file for hpux version 10.20. |
e9bffc61 | 2 | |
acaf905b | 3 | Copyright (C) 1999, 2001-2012 Free Software Foundation, Inc. |
427d4799 | 4 | |
f2a77c3a DN |
5 | This file is part of GNU Emacs. |
6 | ||
7 | GNU Emacs is free software: you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation, either version 3 of the License, or | |
10 | (at your option) any later version. | |
11 | ||
12 | GNU Emacs is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |
19 | ||
20 | ||
e05aebe9 GM |
21 | /* Define symbols to identify the version of Unix this is. |
22 | Define all the symbols that apply correctly. */ | |
f2a77c3a | 23 | #define USG /* System III, System V, etc */ |
f2a77c3a | 24 | #define USG5 |
f2a77c3a DN |
25 | #define HPUX |
26 | ||
f2a77c3a DN |
27 | /* Special hacks needed to make Emacs run on this system. */ |
28 | ||
f2a77c3a DN |
29 | /* Assar Westerlund <assar@sics.se> says this is necessary for |
30 | HP-UX 10.20, and that it works for HP-UX 0 as well. */ | |
31 | #define NO_EDITRES | |
32 | ||
f2a77c3a DN |
33 | /* We have to go this route, rather than hpux9's approach of renaming the |
34 | functions via macros. The system's stdlib.h has fully prototyped | |
35 | declarations, which yields a conflicting definition of srand48; it | |
36 | tries to redeclare what was once srandom to be srand48. So we go | |
4516fbef GM |
37 | with HAVE_LRAND48 being defined. |
38 | Note we also undef HAVE_RANDOM via configure. */ | |
f2a77c3a DN |
39 | #undef srandom |
40 | #undef random | |
7dff330b | 41 | |
40a8bdf6 | 42 | /* Rainer Malzbender <rainer@displaytech.com> says defining |
e05aebe9 | 43 | HAVE_XRMSETDATABASE allows Emacs to compile on HP-UX 10.20 using GCC. */ |
f2a77c3a DN |
44 | #ifndef HAVE_XRMSETDATABASE |
45 | #define HAVE_XRMSETDATABASE | |
46 | #endif | |
47 | ||
b948ce8b PE |
48 | /* Conservative garbage collection has not been tested, so for now |
49 | play it safe and stick with the old-fashioned way of marking. */ | |
50 | #define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE |