# HG changeset patch # User Dave Love # Date 1036004279 0 # Node ID 3bbdce4d2437d3f66c381e9a9581b6df4426d263 # Parent 930c3f92138a58ba0dcbeaee50091f03f7672638 (IRIX6): Don't define. (bcopy, bcmp, bzero): Don't undef. diff -r 930c3f92138a -r 3bbdce4d2437 src/s/irix6-0.h --- a/src/s/irix6-0.h Wed Oct 30 18:57:41 2002 +0000 +++ b/src/s/irix6-0.h Wed Oct 30 18:57:59 2002 +0000 @@ -1,4 +1,3 @@ -#define IRIX6 #include "irix5-0.h" /* Irix 6 tries to do 64 bits, but doesn't do it fully, @@ -16,7 +15,7 @@ #undef C_SWITCH_SYSTEM #endif -/* The only supported configuration of GCC under IRIX6.x produces +/* The only supported 32-bit configuration of GCC under IRIX6.x produces n32 MIPS ABI binaries and also supports -g. */ #ifdef __GNUC__ #undef C_DEBUG_SWITCH @@ -27,23 +26,8 @@ /* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */ #if 0 -/* Canced the #define that is in irix5-0.h. */ +/* Cancel the #define that is in irix5-0.h. */ #undef ospeed #endif -/* Cancel some #define's in usg5-4.h. - Larry Hunter said this was needed - for Irix 6.5. Let's see if it is safe in 6.N, N<5, as well. */ -/* Extrapolating from Irix 6.5, the problem is that (at least) the - bzero definition breaks what the X headers do. The following means - that we lack prototypes for these functions, and we presumably lose - at least in the 64-bit ABI (though that's only supported on Irix - 6.5, which I can test). We may be saved by the fact that these - appear to be intrinsics in the SGI (Cray) compiler. It's probably - appropriate to include strings.h here, but I can't test it. See - irix6-5.h. -- fx */ -#undef bcopy -#undef bcmp -#undef bzero - #undef TIOCSIGSEND