diff options
| author | Dave Love | 2002-10-30 18:57:59 +0000 |
|---|---|---|
| committer | Dave Love | 2002-10-30 18:57:59 +0000 |
| commit | 15fe470ff98ef612a233dbaf585369e0c803bd6f (patch) | |
| tree | 139d2ffb05a36fd6e5020a497e2941c6d95723c8 /src | |
| parent | 7fa3ed62bf8b2a3568863a1834fee84052879d54 (diff) | |
| download | emacs-15fe470ff98ef612a233dbaf585369e0c803bd6f.tar.gz emacs-15fe470ff98ef612a233dbaf585369e0c803bd6f.zip | |
(IRIX6): Don't define.
(bcopy, bcmp, bzero): Don't undef.
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/irix6-0.h | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/src/s/irix6-0.h b/src/s/irix6-0.h index e0950127f7c..6dbdbf31230 100644 --- a/src/s/irix6-0.h +++ b/src/s/irix6-0.h | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | #define IRIX6 | ||
| 2 | #include "irix5-0.h" | 1 | #include "irix5-0.h" |
| 3 | 2 | ||
| 4 | /* Irix 6 tries to do 64 bits, but doesn't do it fully, | 3 | /* Irix 6 tries to do 64 bits, but doesn't do it fully, |
| @@ -16,7 +15,7 @@ | |||
| 16 | #undef C_SWITCH_SYSTEM | 15 | #undef C_SWITCH_SYSTEM |
| 17 | #endif | 16 | #endif |
| 18 | 17 | ||
| 19 | /* The only supported configuration of GCC under IRIX6.x produces | 18 | /* The only supported 32-bit configuration of GCC under IRIX6.x produces |
| 20 | n32 MIPS ABI binaries and also supports -g. */ | 19 | n32 MIPS ABI binaries and also supports -g. */ |
| 21 | #ifdef __GNUC__ | 20 | #ifdef __GNUC__ |
| 22 | #undef C_DEBUG_SWITCH | 21 | #undef C_DEBUG_SWITCH |
| @@ -27,23 +26,8 @@ | |||
| 27 | 26 | ||
| 28 | /* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */ | 27 | /* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */ |
| 29 | #if 0 | 28 | #if 0 |
| 30 | /* Canced the #define that is in irix5-0.h. */ | 29 | /* Cancel the #define that is in irix5-0.h. */ |
| 31 | #undef ospeed | 30 | #undef ospeed |
| 32 | #endif | 31 | #endif |
| 33 | 32 | ||
| 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 | /* 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 */ | ||
| 45 | #undef bcopy | ||
| 46 | #undef bcmp | ||
| 47 | #undef bzero | ||
| 48 | |||
| 49 | #undef TIOCSIGSEND | 33 | #undef TIOCSIGSEND |