aboutsummaryrefslogtreecommitdiff
path: root/gcc/ginclude/stddef.h
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-12-03 06:48:21 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1993-12-03 06:48:21 -0500
commitec044cecc2cda3b821f2cd91ad4167a127cf575c (patch)
tree3554b70fa1b734a7644e72a7b16c837dedf298cf /gcc/ginclude/stddef.h
parentff40873a3fb63ff903f2f2188bea95f4f6331456 (diff)
downloadgcc-ec044cecc2cda3b821f2cd91ad4167a127cf575c.zip
gcc-ec044cecc2cda3b821f2cd91ad4167a127cf575c.tar.gz
gcc-ec044cecc2cda3b821f2cd91ad4167a127cf575c.tar.bz2
Define and protect against __STDDEF_H__ for Irix 5.1.
From-SVN: r6184
Diffstat (limited to 'gcc/ginclude/stddef.h')
-rw-r--r--gcc/ginclude/stddef.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h
index 160f634..82adb94 100644
--- a/gcc/ginclude/stddef.h
+++ b/gcc/ginclude/stddef.h
@@ -1,6 +1,7 @@
#ifndef _STDDEF_H
#ifndef _STDDEF_H_
#ifndef _ANSI_STDDEF_H
+#ifndef __STDDEF_H__
/* Any one of these symbols __need_* means that GNU libc
wants us just to define one data type. So don't define
@@ -11,6 +12,8 @@
#define _STDDEF_H_
/* snaroff@next.com says the NeXT needs this. */
#define _ANSI_STDDEF_H
+/* Irix 5.1 needs this. */
+#define __STDDEF_H__
#endif
#ifndef __sys_stdtypes_h
@@ -221,6 +224,7 @@ typedef __WCHAR_TYPE__ wchar_t;
#endif /* _STDDEF_H was defined this time */
+#endif /* __STDDEF_H__ was not defined before */
#endif /* _ANSI_STDDEF_H was not defined before */
#endif /* _STDDEF_H_ was not defined before */
#endif /* _STDDEF_H was not defined before */