From: Richard Kenner Date: Fri, 3 Dec 1993 11:48:21 +0000 (-0500) Subject: Define and protect against __STDDEF_H__ for Irix 5.1. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec044cecc2cda3b821f2cd91ad4167a127cf575c;p=gcc.git Define and protect against __STDDEF_H__ for Irix 5.1. From-SVN: r6184 --- diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h index 160f6342e6e..82adb942553 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 */