From 8328559dece1b0a7a484d39ddfa9f901172915f6 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sat, 17 Oct 1992 04:41:39 +0000 Subject: [PATCH] Do nothing if _ANSI_STDDEF_H already defined. From-SVN: r2497 --- gcc/ginclude/stddef.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h index adb69a7365a..0b6bfa62347 100644 --- a/gcc/ginclude/stddef.h +++ b/gcc/ginclude/stddef.h @@ -1,5 +1,6 @@ #ifndef _STDDEF_H #ifndef _STDDEF_H_ +#ifndef _ANSI_STDDEF_H /* Any one of these symbols __need_* means that GNU libc wants us just to define one data type. So don't define @@ -163,5 +164,7 @@ typedef __WCHAR_TYPE__ wchar_t; #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) #endif /* _STDDEF_H was defined this time */ + +#endif /* _ANSI_STDDEF_H was not defined before */ #endif /* _STDDEF_H_ was not defined before */ #endif /* _STDDEF_H was not defined before */