*** empty log message ***
[bpt/emacs.git] / src / s / irix6-5.h
1 #define IRIX6
2 #define IRIX6_5
3 #include "irix5-0.h"
4
5 #if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */
6 #error "The 64 bit ABI doesn't work yet. Please fix it and send the changes!"
7 #define _LP64
8 #define EMACS_INT long
9 #define BITS_PER_LONG 64
10 #define BITS_PER_EMACS_INT BITS_PER_LONG
11 #define EMACS_UINT unsigned long
12 #endif /* _MIPS_SZLONG */
13
14 /* This macro definition, which we inherited from irix5-0.h,
15 is needed in configure on Irix 5, but gets in the way there
16 on Irix 6. So get rid of it except in Makefile.in where we need it. */
17 #ifndef THIS_IS_MAKEFILE
18 #undef C_SWITCH_SYSTEM
19 #endif
20
21 /* The only supported configuration of GCC under IRIX6.x produces
22 n32 MIPS ABI binaries and also supports -g. */
23 #ifdef __GNUC__
24 #undef C_DEBUG_SWITCH
25 #define C_DEBUG_SWITCH -g
26 #else
27 /* Optimize, inaccurate debugging, increase limit on size of what's
28 optimized.
29
30 This should also be applicable other than on Irix 6.5, but I don't
31 know for which compiler versions. -- fx */
32 #define C_DEBUG_SWITCH -g3 -O -OPT:Olimit=3500
33 #endif
34
35 #undef SA_RESTART
36
37 /* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */
38 #if 0
39 /* Cancel the #define that is in irix5-0.h. */
40 #undef ospeed
41 #endif
42