# HG changeset patch # User Dave Love # Date 1036004261 0 # Node ID 930c3f92138a58ba0dcbeaee50091f03f7672638 # Parent 8ebe39e6efe182d4767838c9c8efcc7957a4b8b9 Don't include strings.h. (IRIX6): Don't define. (bcopy, bcmp, bzero): Don't undef. diff -r 8ebe39e6efe1 -r 930c3f92138a src/s/irix6-5.h --- a/src/s/irix6-5.h Wed Oct 30 18:52:27 2002 +0000 +++ b/src/s/irix6-5.h Wed Oct 30 18:57:41 2002 +0000 @@ -1,5 +1,4 @@ -#define IRIX6 -#define IRIX6_5 +#define IRIX6_5 /* used in m/iris4d */ #include "irix5-0.h" #if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */ @@ -13,7 +12,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 @@ -32,16 +31,4 @@ /* Cancel the #define that is in irix5-0.h. */ #undef ospeed -/* If we keep the #defines from usg5-4.h, we lose when using the X - headers because (at least) the bzero definition breaks their use of - strings.h. Including strings.h here gets us prototypes for them. - (They're in libc though also they seem to be intrinsics in the SGI - (Cray) compiler at least at version 7.3). -- fx */ -#undef bcopy -#undef bcmp -#undef bzero -#ifndef NOT_C_CODE -#include -#endif - #undef TIOCSIGSEND /* defined in usg5-4.h */