annotate src/s/irix6-0.h @ 55646:358a5c0b4571

(w32_num_mouse_buttons): Rename from Vw32_num_mouse_buttons and make it an int.
author Jason Rumney <jasonr@gnu.org>
date Mon, 17 May 2004 21:43:22 +0000
parents 695cf19ef79e
children 746805373b79 375f2633d815
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10737
bbefee523e40 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 #include "irix5-0.h"
bbefee523e40 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
bbefee523e40 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 /* Irix 6 tries to do 64 bits, but doesn't do it fully,
bbefee523e40 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 so inhibit that. */
bbefee523e40 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 #define IRIX_FORCE_32_BITS
12497
a48e520afeb6 [!__GNUC__] (LD_SWITCH_SYSTEM): Define this.
Richard M. Stallman <rms@gnu.org>
parents: 10737
diff changeset
6
a48e520afeb6 [!__GNUC__] (LD_SWITCH_SYSTEM): Define this.
Richard M. Stallman <rms@gnu.org>
parents: 10737
diff changeset
7 #ifndef __GNUC__
a48e520afeb6 [!__GNUC__] (LD_SWITCH_SYSTEM): Define this.
Richard M. Stallman <rms@gnu.org>
parents: 10737
diff changeset
8 #define LD_SWITCH_SYSTEM -32
a48e520afeb6 [!__GNUC__] (LD_SWITCH_SYSTEM): Define this.
Richard M. Stallman <rms@gnu.org>
parents: 10737
diff changeset
9 #endif
13787
434b944a78c9 (C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents: 12497
diff changeset
10
434b944a78c9 (C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents: 12497
diff changeset
11 /* 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
12 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
13 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
14 #ifndef THIS_IS_MAKEFILE
434b944a78c9 (C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents: 12497
diff changeset
15 #undef C_SWITCH_SYSTEM
434b944a78c9 (C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents: 12497
diff changeset
16 #endif
15730
bfaf5fb2a22c (SA_RESTART): Add #undef.
Karl Heuer <kwzh@gnu.org>
parents: 13787
diff changeset
17
48082
3bbdce4d2437 (IRIX6): Don't define.
Dave Love <fx@gnu.org>
parents: 35151
diff changeset
18 /* The only supported 32-bit configuration of GCC under IRIX6.x produces
15777
d6eb0b865cd2 [__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents: 15730
diff changeset
19 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
20 #ifdef __GNUC__
d6eb0b865cd2 [__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents: 15730
diff changeset
21 #undef C_DEBUG_SWITCH
d6eb0b865cd2 [__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents: 15730
diff changeset
22 #define C_DEBUG_SWITCH -g
d6eb0b865cd2 [__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents: 15730
diff changeset
23 #endif
d6eb0b865cd2 [__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents: 15730
diff changeset
24
15730
bfaf5fb2a22c (SA_RESTART): Add #undef.
Karl Heuer <kwzh@gnu.org>
parents: 13787
diff changeset
25 #undef SA_RESTART
16377
907b62ddf042 (ospeed): New #undef to counteract that definition.
Richard M. Stallman <rms@gnu.org>
parents: 15777
diff changeset
26
18916
d4ff695d4034 Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 16377
diff changeset
27 /* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */
d4ff695d4034 Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 16377
diff changeset
28 #if 0
48082
3bbdce4d2437 (IRIX6): Don't define.
Dave Love <fx@gnu.org>
parents: 35151
diff changeset
29 /* Cancel the #define that is in irix5-0.h. */
16377
907b62ddf042 (ospeed): New #undef to counteract that definition.
Richard M. Stallman <rms@gnu.org>
parents: 15777
diff changeset
30 #undef ospeed
18916
d4ff695d4034 Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 16377
diff changeset
31 #endif
23229
9c8df6d5d40d (TIOCSIGSEND): Add #undef.
Karl Heuer <kwzh@gnu.org>
parents: 18916
diff changeset
32
35151
d5dada0b18de Rearrange relative to comment.
Dave Love <fx@gnu.org>
parents: 34614
diff changeset
33 #undef TIOCSIGSEND
48558
d06ce341b650 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 48082
diff changeset
34
d06ce341b650 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 48082
diff changeset
35 /* Tested on Irix 6.5. SCM worked on earlier versions. */
d06ce341b650 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 48082
diff changeset
36 #define GC_SETJMP_WORKS 1
d06ce341b650 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 48082
diff changeset
37 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48558
diff changeset
38
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48558
diff changeset
39 /* arch-tag: a775e465-a619-4655-a58f-5982aad0c624
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48558
diff changeset
40 (do not change this comment) */