Move NO_EDITRES from src/s to configure
[bpt/emacs.git] / src / s / hpux10-20.h
CommitLineData
f2a77c3a 1/* System description file for hpux version 10.20.
e9bffc61 2
acaf905b 3Copyright (C) 1999, 2001-2012 Free Software Foundation, Inc.
427d4799 4
f2a77c3a
DN
5This file is part of GNU Emacs.
6
7GNU Emacs is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along 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/* We have to go this route, rather than hpux9's approach of renaming the
30 functions via macros. The system's stdlib.h has fully prototyped
31 declarations, which yields a conflicting definition of srand48; it
32 tries to redeclare what was once srandom to be srand48. So we go
4516fbef
GM
33 with HAVE_LRAND48 being defined.
34 Note we also undef HAVE_RANDOM via configure. */
f2a77c3a
DN
35#undef srandom
36#undef random
7dff330b 37
b948ce8b
PE
38/* Conservative garbage collection has not been tested, so for now
39 play it safe and stick with the old-fashioned way of marking. */
40#define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE