Mercurial > emacs
annotate src/m/hp800.h @ 106395:f2b36fb84bf7
Enhance `c-parse-state' to run efficiently in "brace desserts".
* progmodes/cc-mode.el (c-basic-common-init): Call
c-state-cache-init.
(c-neutralize-syntax-in-and-mark-CPP): Renamed from
c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
placing `category' properties value 'c-cpp-delimiter at its
boundaries.
* progmodes/cc-langs.el (c-before-font-lock-function):
c-extend-and-neutralize-syntax-in-CPP has been renamed
c-neutralize-syntax-in-and-mark-CPP.
* progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
with `category' properties now, not `syntax-table' ones.
* progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
enhanced (but slower) version of c-end-of-macro that won't land
inside a literal or on another awkward character.
(c-state-cache-too-far, c-state-cache-start)
(c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
(c-state-nonlit-pos-cache-limit, c-state-point-min)
(c-state-point-min-lit-type, c-state-point-min-lit-start)
(c-state-min-scan-pos, c-state-brace-pair-desert)
(c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
buffer local variables.
(c-state-literal-at, c-state-lit-beg)
(c-state-cache-non-literal-place, c-state-get-min-scan-pos)
(c-state-mark-point-min-literal, c-state-cache-top-lparen)
(c-state-cache-top-paren, c-state-cache-after-top-paren)
(c-get-cache-scan-pos, c-get-fallback-scan-pos)
(c-state-balance-parens-backwards, c-parse-state-get-strategy)
(c-renarrow-state-cache)
(c-append-lower-brace-pair-to-state-cache)
(c-state-push-any-brace-pair, c-append-to-state-cache)
(c-remove-stale-state-cache)
(c-remove-stale-state-cache-backwards, c-state-cache-init)
(c-invalidate-state-cache-1, c-parse-state-1)
(c-invalidate-state-cache): New defuns/defmacros/defsubsts.
(c-parse-state): Enhanced and refactored.
(c-debug-parse-state): Amended to deal with all the new variables.
* progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
(c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
modify to use category text properties rather than syntax-table
ones.
(c-suppress-<->-as-parens, c-restore-<->-as-parens): new defsubsts
to switch off/on the syntactic paren property of C++ template
delimiters using the category property.
(c-with-<->-as-parens-suppressed): Macro to invoke code with
template delims suppressed.
(c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
New constant/macros which apply category properties to the start
and end of preprocessor constructs.
(c-comment-out-cpps, c-uncomment-out-cpps): defsubsts which
"comment out" the syntactic value of characters in preprocessor
constructs.
(c-with-cpps-commented-out)
(c-with-all-but-one-cpps-commented-out): Macros to invoke code
with characters in all or all but one preprocessor constructs
"commented out".
author | Alan Mackenzie <acm@muc.de> |
---|---|
date | Thu, 03 Dec 2009 16:02:10 +0000 |
parents | e038c1a8307c |
children | 1d1d5d9bd884 |
rev | line source |
---|---|
75525
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
1 /* machine description file for hp9000 series 800 machines. |
94714
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94047
diff
changeset
|
2 Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
100951 | 3 2008, 2009 Free Software Foundation, Inc. |
75525
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
4 |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
5 This file is part of GNU Emacs. |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
6 |
94714
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94047
diff
changeset
|
7 GNU Emacs is free software: you can redistribute it and/or modify |
75525
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
8 it under the terms of the GNU General Public License as published by |
94714
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94047
diff
changeset
|
9 the Free Software Foundation, either version 3 of the License, or |
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94047
diff
changeset
|
10 (at your option) any later version. |
75525
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
11 |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
12 GNU Emacs is distributed in the hope that it will be useful, |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
15 GNU General Public License for more details. |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
16 |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
17 You should have received a copy of the GNU General Public License |
94714
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94047
diff
changeset
|
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
75525
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
19 |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
20 |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
21 /* The following line tells the configuration script what sort of |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
22 operating system this machine is likely to run. |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
23 USUAL-OPSYS="hpux" */ |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
24 |
78499 | 25 /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word |
75525
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
26 is the most significant byte. */ |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
27 |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
28 #define WORDS_BIG_ENDIAN |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
29 |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
30 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
31 * group of arguments and treat it as an array of the arguments. */ |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
32 |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
33 #define NO_ARG_ARRAY |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
34 |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
35 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
36 the bit field into an int. In other words, if bit fields |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
37 are always unsigned. |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
38 |
96602 | 39 This flag only matters if you use USE_LISP_UNION_TYPE. */ |
75525
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
40 |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
41 #define EXPLICIT_SIGN_EXTEND |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
42 |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
43 |
76750
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
44 /* Common definitions for HPUX and GNU/Linux. */ |
75525
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
45 |
76750
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
46 #if defined (__hpux) || defined (GNU_LINUX) |
75525
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
47 |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
48 /* Define NO_REMAP if memory segmentation makes it not work well |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
49 to change the boundary between the text section and data section |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
50 when Emacs is dumped. If you define this, the preloaded Lisp |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
51 code will not be sharable; but that's better than failing completely. */ |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
52 |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
53 #define NO_REMAP |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
54 |
76750
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
55 #endif /* __hpux or GNU_LINUX */ |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
56 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
57 /* Stuff for just GNU/Linux. */ |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
58 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
59 #ifdef GNU_LINUX |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
60 |
75525
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
61 /* Data type of load average, as read out of kmem. */ |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
62 |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
63 #define LOAD_AVE_TYPE long |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
64 |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
65 /* Convert that into an integer that is 100 for a load average of 1.0 */ |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
66 |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
67 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
68 |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
69 #endif /* GNU_LINUX */ |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
70 |
76750
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
71 /* Stuff for just HPUX. */ |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
72 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
73 #ifdef __hpux |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
74 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
75 /* Define VIRT_ADDR_VARIES if the virtual addresses of |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
76 pure and impure space as loaded can vary, and even their |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
77 relative order cannot be relied on. |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
78 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
79 Otherwise Emacs assumes that text space precedes data space, |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
80 numerically. */ |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
81 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
82 #define VIRT_ADDR_VARIES |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
83 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
84 /* the data segment on this machine always starts at address 0x40000000. */ |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
85 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
86 #define DATA_SEG_BITS 0x40000000 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
87 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
88 #define DATA_START 0x40000000 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
89 #define TEXT_START 0x00000000 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
90 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
91 /* This machine requires completely different unexec code |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
92 which lives in a separate file. Specify the file name. */ |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
93 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
94 #define UNEXEC unexhp9k800.o |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
95 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
96 #define LIBS_MACHINE |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
97 #define LIBS_DEBUG |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
98 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
99 /* Include the file bsdtty.h, since this machine has job control. */ |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
100 #define NEED_BSDTTY |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
101 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
102 /* Data type of load average, as read out of kmem. */ |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
103 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
104 #define LOAD_AVE_TYPE double |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
105 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
106 /* Convert that into an integer that is 100 for a load average of 1.0 */ |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
107 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
108 #define LOAD_AVE_CVT(x) ((int) (x * 100.0)) |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
109 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
110 /* The symbol in the kernel where the load average is found |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
111 is named _avenrun. At this time there are two major flavors |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
112 of hp-ux (there is the s800 and s300 (s200) flavors). The |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
113 differences are thusly moved to the corresponding machine description file. |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
114 */ |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
115 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
116 /* no underscore please */ |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
117 #define LDAV_SYMBOL "avenrun" |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
118 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
119 /* On USG systems these have different names. */ |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
120 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
121 #define index strchr |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
122 #define rindex strrchr |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
123 |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
124 #endif /* __hpux */ |
c8470b905d7a
Restore HP-UX support (removed 2007-01-29).
Glenn Morris <rgm@gnu.org>
parents:
75525
diff
changeset
|
125 |
75525
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
126 /* Systems with GCC don't need to lose. */ |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
127 #ifdef __NetBSD__ |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
128 # ifdef __GNUC__ |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
129 # define alloca __builtin_alloca |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
130 # define HAVE_ALLOCA |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
131 # endif /* __GNUC__ */ |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
132 #endif /* __NetBSD__ */ |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
133 |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
134 /* arch-tag: 809436e6-1645-4b92-b40d-2de5d6e7227c |
53a1273f562c
Restore, removing HP-UX support.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
135 (do not change this comment) */ |