aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love2002-10-30 18:57:41 +0000
committerDave Love2002-10-30 18:57:41 +0000
commit7fa3ed62bf8b2a3568863a1834fee84052879d54 (patch)
treef0c1c5c26334dd38fb734183b204f7fa2887d9a4 /src
parentf3acf5bed7d4587c3702e56b64340f6dc693b6bb (diff)
downloademacs-7fa3ed62bf8b2a3568863a1834fee84052879d54.tar.gz
emacs-7fa3ed62bf8b2a3568863a1834fee84052879d54.zip
Don't include strings.h.
(IRIX6): Don't define. (bcopy, bcmp, bzero): Don't undef.
Diffstat (limited to 'src')
-rw-r--r--src/s/irix6-5.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h
index 39e129a4e3a..7e29dc284b1 100644
--- a/src/s/irix6-5.h
+++ b/src/s/irix6-5.h
@@ -1,5 +1,4 @@
1#define IRIX6 1#define IRIX6_5 /* used in m/iris4d */
2#define IRIX6_5
3#include "irix5-0.h" 2#include "irix5-0.h"
4 3
5#if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */ 4#if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */
@@ -13,7 +12,7 @@
13#undef C_SWITCH_SYSTEM 12#undef C_SWITCH_SYSTEM
14#endif 13#endif
15 14
16/* The only supported configuration of GCC under IRIX6.x produces 15/* The only supported 32-bit configuration of GCC under IRIX6.x produces
17 n32 MIPS ABI binaries and also supports -g. */ 16 n32 MIPS ABI binaries and also supports -g. */
18#ifdef __GNUC__ 17#ifdef __GNUC__
19#undef C_DEBUG_SWITCH 18#undef C_DEBUG_SWITCH
@@ -32,16 +31,4 @@
32/* Cancel the #define that is in irix5-0.h. */ 31/* Cancel the #define that is in irix5-0.h. */
33#undef ospeed 32#undef ospeed
34 33
35/* If we keep the #defines from usg5-4.h, we lose when using the X
36 headers because (at least) the bzero definition breaks their use of
37 strings.h. Including strings.h here gets us prototypes for them.
38 (They're in libc though also they seem to be intrinsics in the SGI
39 (Cray) compiler at least at version 7.3). -- fx */
40#undef bcopy
41#undef bcmp
42#undef bzero
43#ifndef NOT_C_CODE
44#include <strings.h>
45#endif
46
47#undef TIOCSIGSEND /* defined in usg5-4.h */ 34#undef TIOCSIGSEND /* defined in usg5-4.h */