Commit | Line | Data |
---|---|---|
b7168977 | 1 | #define IRIX6 |
a2a9c59e RS |
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 | |
14ee2e03 RS |
7 | |
8 | #ifndef __GNUC__ | |
9 | #define LD_SWITCH_SYSTEM -32 | |
10 | #endif | |
923735b7 KH |
11 | |
12 | /* This macro definition, which we inherited from irix5-0.h, | |
13 | is needed in configure on Irix 5, but gets in the way there | |
14 | on Irix 6. So get rid of it except in Makefile.in where we need it. */ | |
15 | #ifndef THIS_IS_MAKEFILE | |
16 | #undef C_SWITCH_SYSTEM | |
17 | #endif | |
c0f8e3a9 | 18 | |
26507191 RS |
19 | /* The only supported configuration of GCC under IRIX6.x produces |
20 | n32 MIPS ABI binaries and also supports -g. */ | |
21 | #ifdef __GNUC__ | |
22 | #undef C_DEBUG_SWITCH | |
23 | #define C_DEBUG_SWITCH -g | |
24 | #endif | |
25 | ||
c0f8e3a9 | 26 | #undef SA_RESTART |
f74e8587 | 27 | |
b60f4a5c RS |
28 | /* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */ |
29 | #if 0 | |
f74e8587 RS |
30 | /* Canced the #define that is in irix5-0.h. */ |
31 | #undef ospeed | |
b60f4a5c | 32 | #endif |
5cfc5cbe KH |
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. */ | |
37 | #undef TIOCSIGSEND | |
38 | #undef bcopy | |
39 | #undef bcmp | |
40 | #undef bzero |