Mercurial > emacs
annotate src/s/irix6-0.h @ 39439:8c76e11c46a4
(display_mode_element): If the mode element is a symbol
with a string value, use that string's multibyteness for
displaying.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 25 Sep 2001 11:38:02 +0000 |
parents | d5dada0b18de |
children | 3bbdce4d2437 ecf2fa064ecc |
rev | line source |
---|---|
23912 | 1 #define IRIX6 |
10737 | 2 #include "irix5-0.h" |
3 | |
4 /* Irix 6 tries to do 64 bits, but doesn't do it fully, | |
5 so inhibit that. */ | |
6 #define IRIX_FORCE_32_BITS | |
12497
a48e520afeb6
[!__GNUC__] (LD_SWITCH_SYSTEM): Define this.
Richard M. Stallman <rms@gnu.org>
parents:
10737
diff
changeset
|
7 |
a48e520afeb6
[!__GNUC__] (LD_SWITCH_SYSTEM): Define this.
Richard M. Stallman <rms@gnu.org>
parents:
10737
diff
changeset
|
8 #ifndef __GNUC__ |
a48e520afeb6
[!__GNUC__] (LD_SWITCH_SYSTEM): Define this.
Richard M. Stallman <rms@gnu.org>
parents:
10737
diff
changeset
|
9 #define LD_SWITCH_SYSTEM -32 |
a48e520afeb6
[!__GNUC__] (LD_SWITCH_SYSTEM): Define this.
Richard M. Stallman <rms@gnu.org>
parents:
10737
diff
changeset
|
10 #endif |
13787
434b944a78c9
(C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents:
12497
diff
changeset
|
11 |
434b944a78c9
(C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents:
12497
diff
changeset
|
12 /* This macro definition, which we inherited from irix5-0.h, |
434b944a78c9
(C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents:
12497
diff
changeset
|
13 is needed in configure on Irix 5, but gets in the way there |
434b944a78c9
(C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents:
12497
diff
changeset
|
14 on Irix 6. So get rid of it except in Makefile.in where we need it. */ |
434b944a78c9
(C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents:
12497
diff
changeset
|
15 #ifndef THIS_IS_MAKEFILE |
434b944a78c9
(C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents:
12497
diff
changeset
|
16 #undef C_SWITCH_SYSTEM |
434b944a78c9
(C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents:
12497
diff
changeset
|
17 #endif |
15730 | 18 |
15777
d6eb0b865cd2
[__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents:
15730
diff
changeset
|
19 /* The only supported configuration of GCC under IRIX6.x produces |
d6eb0b865cd2
[__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents:
15730
diff
changeset
|
20 n32 MIPS ABI binaries and also supports -g. */ |
d6eb0b865cd2
[__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents:
15730
diff
changeset
|
21 #ifdef __GNUC__ |
d6eb0b865cd2
[__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents:
15730
diff
changeset
|
22 #undef C_DEBUG_SWITCH |
d6eb0b865cd2
[__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents:
15730
diff
changeset
|
23 #define C_DEBUG_SWITCH -g |
d6eb0b865cd2
[__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents:
15730
diff
changeset
|
24 #endif |
d6eb0b865cd2
[__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents:
15730
diff
changeset
|
25 |
15730 | 26 #undef SA_RESTART |
16377
907b62ddf042
(ospeed): New #undef to counteract that definition.
Richard M. Stallman <rms@gnu.org>
parents:
15777
diff
changeset
|
27 |
18916 | 28 /* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */ |
29 #if 0 | |
16377
907b62ddf042
(ospeed): New #undef to counteract that definition.
Richard M. Stallman <rms@gnu.org>
parents:
15777
diff
changeset
|
30 /* Canced the #define that is in irix5-0.h. */ |
907b62ddf042
(ospeed): New #undef to counteract that definition.
Richard M. Stallman <rms@gnu.org>
parents:
15777
diff
changeset
|
31 #undef ospeed |
18916 | 32 #endif |
23229 | 33 |
34 /* Cancel some #define's in usg5-4.h. | |
35 Larry Hunter <hunter@nlm.nih.gov> said this was needed | |
36 for Irix 6.5. Let's see if it is safe in 6.N, N<5, as well. */ | |
34614 | 37 /* Extrapolating from Irix 6.5, the problem is that (at least) the |
38 bzero definition breaks what the X headers do. The following means | |
39 that we lack prototypes for these functions, and we presumably lose | |
40 at least in the 64-bit ABI (though that's only supported on Irix | |
41 6.5, which I can test). We may be saved by the fact that these | |
42 appear to be intrinsics in the SGI (Cray) compiler. It's probably | |
43 appropriate to include strings.h here, but I can't test it. See | |
44 irix6-5.h. -- fx */ | |
23229 | 45 #undef bcopy |
46 #undef bcmp | |
47 #undef bzero | |
35151 | 48 |
49 #undef TIOCSIGSEND |