Mercurial > emacs
annotate src/s/irix6-5.h @ 43977:633c9f5b4b14
(describe-char-after): Use `internal-describe-syntax-value' again.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 17 Mar 2002 21:51:26 +0000 |
parents | 67fa8a547b3d |
children | 930c3f92138a 663e60c7887e |
rev | line source |
---|---|
23913 | 1 #define IRIX6 |
2 #define IRIX6_5 | |
3 #include "irix5-0.h" | |
4 | |
30505
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
5 #if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */ |
31925 | 6 #define _LP64 /* lisp.h takes care of the rest */ |
30505
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
7 #endif /* _MIPS_SZLONG */ |
23913 | 8 |
9 /* This macro definition, which we inherited from irix5-0.h, | |
10 is needed in configure on Irix 5, but gets in the way there | |
11 on Irix 6. So get rid of it except in Makefile.in where we need it. */ | |
12 #ifndef THIS_IS_MAKEFILE | |
13 #undef C_SWITCH_SYSTEM | |
14 #endif | |
15 | |
16 /* The only supported configuration of GCC under IRIX6.x produces | |
17 n32 MIPS ABI binaries and also supports -g. */ | |
18 #ifdef __GNUC__ | |
19 #undef C_DEBUG_SWITCH | |
20 #define C_DEBUG_SWITCH -g | |
25338
8a6fbe59406d
(C_DEBUG_SWITCH): Set for debug and optimize.
Dave Love <fx@gnu.org>
parents:
23913
diff
changeset
|
21 #else |
27490
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
22 /* Optimize, inaccurate debugging, increase limit on size of what's |
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
23 optimized. |
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
24 |
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
25 This should also be applicable other than on Irix 6.5, but I don't |
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
26 know for which compiler versions. -- fx */ |
2567edc84238
Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents:
27440
diff
changeset
|
27 #define C_DEBUG_SWITCH -g3 -O -OPT:Olimit=3500 |
23913 | 28 #endif |
29 | |
30 #undef SA_RESTART | |
31 | |
30505
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
32 /* Cancel the #define that is in irix5-0.h. */ |
23913 | 33 #undef ospeed |
30505
a0367b506722
(IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
Dave Love <fx@gnu.org>
parents:
27490
diff
changeset
|
34 |
34612
67fa8a547b3d
#undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents:
31925
diff
changeset
|
35 /* If we keep the #defines from usg5-4.h, we lose when using the X |
67fa8a547b3d
#undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents:
31925
diff
changeset
|
36 headers because (at least) the bzero definition breaks their use of |
67fa8a547b3d
#undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents:
31925
diff
changeset
|
37 strings.h. Including strings.h here gets us prototypes for them. |
67fa8a547b3d
#undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents:
31925
diff
changeset
|
38 (They're in libc though also they seem to be intrinsics in the SGI |
67fa8a547b3d
#undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents:
31925
diff
changeset
|
39 (Cray) compiler at least at version 7.3). -- fx */ |
67fa8a547b3d
#undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents:
31925
diff
changeset
|
40 #undef bcopy |
67fa8a547b3d
#undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents:
31925
diff
changeset
|
41 #undef bcmp |
67fa8a547b3d
#undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents:
31925
diff
changeset
|
42 #undef bzero |
67fa8a547b3d
#undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents:
31925
diff
changeset
|
43 #ifndef NOT_C_CODE |
67fa8a547b3d
#undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents:
31925
diff
changeset
|
44 #include <strings.h> |
67fa8a547b3d
#undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents:
31925
diff
changeset
|
45 #endif |
67fa8a547b3d
#undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents:
31925
diff
changeset
|
46 |
67fa8a547b3d
#undef bcopy & al here. Include strings.h.
Gerd Moellmann <gerd@gnu.org>
parents:
31925
diff
changeset
|
47 #undef TIOCSIGSEND /* defined in usg5-4.h */ |